summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-10-29 19:30:12 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-10-29 19:30:12 (GMT)
commit8612aa10b681fb31bcf3e4959b151fc7f3a5442e (patch)
tree60854e460425b7becc46e2ca93f9626a4262f2f1 /Source/ctest.cxx
parente183581b1459aba72758f395d7e1b74ff8f6aade (diff)
downloadCMake-8612aa10b681fb31bcf3e4959b151fc7f3a5442e.zip
CMake-8612aa10b681fb31bcf3e4959b151fc7f3a5442e.tar.gz
CMake-8612aa10b681fb31bcf3e4959b151fc7f3a5442e.tar.bz2
Hook for scheduling tests in a random order
This may help statistically detect implicit dependencies among unit tests while running in parallel.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 2f99410..893e9cb 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -208,6 +208,9 @@ static const char * cmDocumentationOptions[][3] =
"By default CTest will run child CTest instances within the same process. "
"If this behavior is not desired, this argument will enforce new "
"processes for child CTest processes." },
+ {"--schedule-random", "Use a random order for scheduling tests",
+ "This option will run the tests in a random order. It is commonly used to "
+ "detect implicit dependencies in a test suite." },
{"--submit-index", "Submit individual dashboard tests with specific index",
"This option allows performing the same CTest action (such as test) "
"multiple times and submit all stages to the same dashboard (Dart2 "