summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2017-04-22 09:38:55 (GMT)
committerCraig Scott <craig.scott@crascit.com>2017-05-01 15:54:13 (GMT)
commitc1b2b7c03c899c9b066840600ec15b16ae2fa9ac (patch)
tree588318387fddce99535d6f90637cfd670e2a24b8 /Source/ctest.cxx
parent02d11868827417e88cbbee795703421dfdb342f6 (diff)
downloadCMake-c1b2b7c03c899c9b066840600ec15b16ae2fa9ac.zip
CMake-c1b2b7c03c899c9b066840600ec15b16ae2fa9ac.tar.gz
CMake-c1b2b7c03c899c9b066840600ec15b16ae2fa9ac.tar.bz2
Add ctest options for limiting which tests fixtures add
The new options allow the user to restrict the setup and cleanup tests automatically added for fixtures.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 135062d..15d4cf4 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -52,6 +52,18 @@ static const char* cmDocumentationOptions[][2] = {
"expression." },
{ "-LE <regex>, --label-exclude <regex>", "Exclude tests with labels "
"matching regular expression." },
+ { "-FA <regex>, --fixture-exclude-any <regex>", "Do not automatically "
+ "add any tests for "
+ "fixtures matching "
+ "regular expression." },
+ { "-FS <regex>, --fixture-exclude-setup <regex>", "Do not automatically "
+ "add setup tests for "
+ "fixtures matching "
+ "regular expression." },
+ { "-FC <regex>, --fixture-exclude-cleanup <regex>", "Do not automatically "
+ "add cleanup tests for "
+ "fixtures matching "
+ "regular expression." },
{ "-D <dashboard>, --dashboard <dashboard>", "Execute dashboard test" },
{ "-D <var>:<type>=<value>", "Define a variable for script mode" },
{ "-M <model>, --test-model <model>", "Sets the model for a dashboard" },