Counting tests, i.e. files in the test directories
Can we create and run a script that records the number of tests in larsoft... i.e. files in the test directories?
Note that the number of files does not equate to the number of tests. Plus there are unit tests and CI tests. Some tests may be marked for specific circumstances (e.g., those that take a long time to run).
For the Integration tests, the test_runner has a --list-tests option that
will list all the available tests, and a --expand-tests that shows the expanded
tests in a given suite rather than run them.
Is there a say-it-but-don't-do-it option for the mrb test phase?
Interesting idea. However "mrb test" really means "run cmake, build, and then test". Finding a simple solution will need some thought and some work.
For the unit tests, running
ctest -N gives the list of the tests.
mrb build -C
- all relevant repositories checked out
cmake (as above)
Compilation is not required.
- Status changed from New to Closed
Also available in: Atom