The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=11935 ====================================================================== Reported By: hassan_mj Assigned To: ====================================================================== Project: CMake Issue ID: 11935 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-03-06 17:21 EST Last Modified: 2011-03-06 17:21 EST ====================================================================== Summary: CTest with --output-on-failure option Description: We are using CMake with CTest and we found an issue regarding CTEST_OUTPUT_ON_FAILURE or –output-on-failure option in CTest.
I added: set(CTEST_OUTPUT_ON_FAILURE ON) command in out CMakeLists.txt file for enabling our PRINTF's and getting more details about the failed test(as mentioned in the book), but this is not working. Currently for every CMake build we manually add this option in Visusal Studio setting and then it's working fine. I also tried: add_test(NAME ${TName} COMMAND ${TEST_NAME} ${TName} --output_on_failure) but it's also not working. Is this the right way or I am missing some thing. I am working on Windows XP and using Visual Studio 9 2008. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-03-06 17:21 hassan_mj New Issue ====================================================================== _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers