summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-01-18 18:03:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-01-18 18:03:32 (GMT)
commit7e1ba9d0757885626b1ed9a26a0b014d6755429b (patch)
tree5b9ed6590a34c24a07d5b39bfe5a267f7e28df13 /Source/ctest.cxx
parente4048118dea476a018d1944771e0c95b8805ec21 (diff)
downloadCMake-7e1ba9d0757885626b1ed9a26a0b014d6755429b.zip
CMake-7e1ba9d0757885626b1ed9a26a0b014d6755429b.tar.gz
CMake-7e1ba9d0757885626b1ed9a26a0b014d6755429b.tar.bz2
BUG: add output on failure to ctest #8255
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 9401574..7f4987e 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -65,6 +65,9 @@ static const char * cmDocumentationOptions[][3] =
{"--debug", "Displaying more verbose internals of CTest.",
"This feature will result in large number of output that is mostly "
"useful for debugging dashboard problems."},
+ {"--output-on-failure", "Output anything outputted by the test program "
+ "if the test should fail. This option can also be enabled by setting "
+ "the environment variable CTEST_OUTPUT_ON_FAILURE"},
{"-Q,--quiet", "Make ctest quiet.",
"This option will suppress all the output. The output log file will "
"still be generated if the --output-log is specified. Options such "