Open tofstie opened 3 weeks ago
I just pushed a commit adding CONVERGENCE
tags to relevant time refinement study tests and to some others which I've used in the past.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
This PR adds labels to all current CTests and sets a standard for the labels to be included in CTests in the future. If you want to add any labels to a test, feel free to push to my branch.
How to add labels
To add labels use the custom ctest function, defined in ./tests/CMakeLists.txt,
set_tests_labels
. This function takes one input and as many arguments as needed. The one input is the test name and the arguments are the labels wanted. See below for an example use.How to use labels
To use a label to run a specific set of tests use the -L flag with ctest. Multiple -L flags are counted as an
AND
statement. One may also use -LE to exclude certain tests from running.ctest -L UNIT_TEST -L QUICK
will run all quick unit tests. These-L
flags can also use regex.ODE_SOLVER unit tests
Current Labels
Test labels should be added for the following categories (USE ALL CAPS) for all future tests.