-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meson test
with a specific test should only build what is needed for the test
#7473
Comments
this is actually not a big issue. I was linking a static lib to each test so it was taking a while. using |
All the information that is needed here is already available in |
I have an opened pr for this, there's just a couple of bugs I haven't worked out yet |
Is that #6511? It seems a bit different, in particular one is "what to build by default" and the other one is "what to rebuild" (you can rebuild more than needed and do it by default to make things safer, but the ergonomics are worse). For a large project I don't mind building tests by default, but I don't want My idea for this issue was to invoke ninja with the specific targets included in |
I guess my pr gets half there, since it changes meson test to depend on a target that builds only the tests and their dependencies. |
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: mesonbuild#7473 Related: mesonbuild#7830
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: mesonbuild#7473 Related: mesonbuild#7830
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: mesonbuild#7473 Related: mesonbuild#7830
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: mesonbuild#7473 Related: mesonbuild#7830
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: mesonbuild#7473 Related: mesonbuild#7830
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: mesonbuild#7473 Related: mesonbuild#7830
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: mesonbuild#7473 Related: mesonbuild#7830
It is a usual workflow to fix something and retest to see if it is fixed using a particular test. When tests start to become numerous, it becomes time consuming for "meson test" to relink all of them (and in fact rebuild the whole project) where the user has already specified the tests they want to run, as well as the tests' dependencies. Teach meson to be smart and only build what is needed for the test (or suite) that were specified. Fixes: mesonbuild#7473 Related: mesonbuild#7830
it's an usual workflow of mine to fix something and retest to see if it's fixed (using a particular test), but i have 30 tests now and i need to wait for all of them to finish linking, when i already specified the test i want to run
I think meson should be smart here and only build what's needed for the test (or suite) i specified
The text was updated successfully, but these errors were encountered: