How to run a single project test? #11640
-
I want to just run There is which brings it down to 35 tests, but that takes a long time. The website at https://mesonbuild.com/Contributing.html suggests to run:
but that doesn't run the tests, at least it doesn't fail as with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is probably because the test suite runs it multiple times with different values for options. See |
Beta Was this translation helpful? Give feedback.
-
You can run It will still run the full matrix for the fifteenth frameworks project, which tbh is what you want anyway. That will be a lot fewer than 35 though. :) |
Beta Was this translation helpful? Give feedback.
You can run
--only frameworks/15
and it will narrow down the tests even further than just all frameworks. (Technically you can specify the full project name there. But as long as it's a unique prefix it will all work out. Note that "15" will run both 15 and 150-159, except that there aren't quite that many framework tests... It's worth keeping in mind for--only common/15
though.)It will still run the full matrix for the fifteenth frameworks project, which tbh is what you want anyway. That will be a lot fewer than 35 though. :)