Commit Graph

6 Commits

Author SHA1 Message Date
Jon Turney 1c9698b107 Drop checking skippable() in run_single_test
Drop checking skippable() in run_single_test. It always returns True
unless we are under CI, so checking it here is pointless.
2021-07-07 20:08:12 +02:00
Daniel Mensinger b2112bc4f6 tests: Always enable the traceback in run_project_tests.py 2021-06-18 23:48:33 +02:00
Daniel Mensinger e1708d3de9 tests: Reduce complexity of the run_tests signature 2021-06-09 13:25:36 +02:00
Daniel Mensinger 7fc755b334 typing: Fully annotate run_project_tests.py 2021-06-09 13:25:36 +02:00
Dylan Baker adbfa12409 run_single_test: Handle MESON_SKIP_TEST correctly 2021-03-23 15:28:08 -07:00
Dylan Baker 44c836e0d9 add a script to run a single test
As a Meson developer it's often frustrating to have a single functional
test with a regression. These tests can be awkward to reproduce,
especially when they make use of a test.json file. This script provides
a simmple interface to call functional tests 1 at a time, regardless of
whether they use a test.json or not. If they do use a test.json, and
have a matrix, then the `--subtest` option can be used to select spcific
combinations, for example:
```sh
./run_single_test.py "test cases/frameworks/15 llvm" --subtest 1
```
will run only the second (zero indexed of course) subtest from the llvm
test cases.

This is not a super elegent script, but this is super useful.
2021-02-23 09:08:55 -08:00