Add test for consistent random ordering

-- Fixed up during cherrypicking
This commit is contained in:
John Bytheway
2020-04-10 17:25:13 -04:00
committed by Martin Hořeňovský
parent 26b2c3e7e2
commit 630ba26278
2 changed files with 59 additions and 0 deletions

View File

@@ -198,6 +198,9 @@ set_tests_properties(TagAlias PROPERTIES
FAIL_REGULAR_EXPRESSION "0 matching test cases"
)
add_test(NAME RandomTestOrdering COMMAND ${PYTHON_EXECUTABLE}
${CATCH_DIR}/tests/TestScripts/testRandomOrder.py $<TARGET_FILE:SelfTest>)
if (CATCH_USE_VALGRIND)
add_test(NAME ValgrindRunTests COMMAND valgrind --leak-check=full --error-exitcode=1 $<TARGET_FILE:SelfTest>)
add_test(NAME ValgrindListTests COMMAND valgrind --leak-check=full --error-exitcode=1 $<TARGET_FILE:SelfTest> --list-tests --verbosity high)