MantisBT - CMake
View Issue Details
0008255CMakeCTestpublic2008-12-07 22:022009-01-18 14:52
Philip Lowman 
Bill Hoffman 
normalfeatureN/A
closedfixed 
 
 
0008255: [PATCH] A new option for CTest which will output the results of a failed unit test
The patch makes CTest output the output of any tests that fail. This is interpreted as meaning the test program either didn't return 0 or threw an exception. It can be enabled by:

1.) passing a new "--output-on-failure" command line option to ctest (or consequently by running "make test ARGS=--output-on-failure" when using CMake)
2.) setting a new CTEST_OUTPUT_ON_FAILURE environment variable
No tags attached.
diff ctest_output_errors_on_test_failure.diff (3,521) 2008-12-07 22:02
https://public.kitware.com/Bug/file/1905/ctest_output_errors_on_test_failure.diff
Issue History
2008-12-07 22:02Philip LowmanNew Issue
2008-12-07 22:02Philip LowmanFile Added: ctest_output_errors_on_test_failure.diff
2008-12-15 10:45Bill HoffmanStatusnew => assigned
2008-12-15 10:45Bill HoffmanAssigned To => Bill Hoffman
2009-01-18 14:52Bill HoffmanNote Added: 0014603
2009-01-18 14:52Bill HoffmanStatusassigned => closed
2009-01-18 14:52Bill HoffmanResolutionopen => fixed

Notes
(0014603)
Bill Hoffman   
2009-01-18 14:52   
Thanks for the patch, it is now in CVS CMake