Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-02-03 21:24:53 +0100
committerMartin Hořeňovský2020-02-04 10:11:55 +0100
commit86e19b952dc4a4a2526037602abcc96a80607acc (patch)
tree38206c64af593e1a857966d9bbcbfeabaada71bb
parentbce5b364d39add56025713a01a5af9f331d3ce0e (diff)
downloadcatch3-86e19b952dc4a4a2526037602abcc96a80607acc.tar.gz
NoAssertions runs only 1 test case instead of all of them
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 4e6c98f2..981e5519 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -163,7 +163,7 @@ set_tests_properties(List::Reporters::XmlOutput PROPERTIES
-add_test(NAME NoAssertions COMMAND $<TARGET_FILE:SelfTest> -w NoAssertions)
+add_test(NAME NoAssertions COMMAND $<TARGET_FILE:SelfTest> -w NoAssertions "An empty test with no assertions")
set_tests_properties(NoAssertions PROPERTIES PASS_REGULAR_EXPRESSION "No assertions in test case")
add_test(NAME NoTest COMMAND $<TARGET_FILE:SelfTest> Tracker, "___nonexistent_test___")