diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-10-29 19:30:12 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-10-29 19:30:12 (GMT) |
commit | 8612aa10b681fb31bcf3e4959b151fc7f3a5442e (patch) | |
tree | 60854e460425b7becc46e2ca93f9626a4262f2f1 /Source/CTest/cmCTestTestCommand.h | |
parent | e183581b1459aba72758f395d7e1b74ff8f6aade (diff) | |
download | CMake-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/cmCTestTestCommand.h')
-rw-r--r-- | Source/CTest/cmCTestTestCommand.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestTestCommand.h b/Source/CTest/cmCTestTestCommand.h index 73ce913..12314df 100644 --- a/Source/CTest/cmCTestTestCommand.h +++ b/Source/CTest/cmCTestTestCommand.h @@ -61,7 +61,8 @@ public: " [INCLUDE include regex] [RETURN_VALUE res] \n" " [EXCLUDE_LABEL exclude regex] \n" " [INCLUDE_LABEL label regex] \n" - " [PARALLEL_LEVEL level]) \n" + " [PARALLEL_LEVEL level] \n" + " [SCHEDULE_RANDOM on]) \n" "Tests the given build directory and stores results in Test.xml. The " "second argument is a variable that will hold value. Optionally, " "you can specify the starting test number START, the ending test number " @@ -70,7 +71,9 @@ public: "to not run EXCLUDE. EXCLUDE_LABEL and INCLUDE_LABEL are regular " "expression for test to be included or excluded by the test " "property LABEL. PARALLEL_LEVEL should be set to a positive number " - "representing the number of tests to be run in parallel." + "representing the number of tests to be run in parallel. " + "SCHEDULE_RANDOM will launch tests in a random order, and is " + "typically used to detect implicit test dependencies." "\n" CTEST_COMMAND_APPEND_OPTION_DOCS; } @@ -92,6 +95,7 @@ protected: ctt_EXCLUDE_LABEL, ctt_INCLUDE_LABEL, ctt_PARALLEL_LEVEL, + ctt_SCHEDULE_RANDOM, ctt_LAST }; }; |