diff options
author | Roman Wüger <roman.wueger@gmx.at> | 2015-09-17 15:06:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-18 15:32:06 (GMT) |
commit | fd47df45030733341858fa33ee96015d64c73c03 (patch) | |
tree | d763169672205165693ac1afb9ff3af525bd2681 /Source/ctest.cxx | |
parent | 6e3151f6ccd035ffd704d3cb0162c873d5e95e15 (diff) | |
download | CMake-fd47df45030733341858fa33ee96015d64c73c03.zip CMake-fd47df45030733341858fa33ee96015d64c73c03.tar.gz CMake-fd47df45030733341858fa33ee96015d64c73c03.tar.bz2 |
CTest: Add options to limit output of passed and failed tests
Add ctest command-line options:
--test-output-size-passed <n>
--test-output-size-failed <n>
to set the amount of test output to store in Test.xml as a command-line
dashboard client.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index afcbd61..7fa6aed 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -46,6 +46,10 @@ static const char * cmDocumentationOptions[][2] = {"--debug", "Displaying more verbose internals of CTest."}, {"--output-on-failure", "Output anything outputted by the test program " "if the test should fail."}, + {"--test-output-size-passed <size>", "Limit the output for passed tests " + "to <size> bytes"}, + {"--test-output-size-failed <size>", "Limit the output for failed tests " + "to <size> bytes"}, {"-F", "Enable failover."}, {"-j <jobs>, --parallel <jobs>", "Run the tests in parallel using the " "given number of jobs."}, |