[CMake] Catch result after test
Hi, How can I catch test result before writed in LastTest.log? In which file is ordered the creation of files? - LastTest.log, - LastTestsFailed.log, - CTestCostData.txt located in build/Testing/Temporary. Best regards, Mohamed. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] CTest print output value
Hi , I would like to generate a txt report including various informations produced by each test execution. my ideas was in a second step to post this cover test onto a cdash portal. My CMakeLists.txt produce a well formed CTestTestfile.cmake file with the following a classical structure : ADD_TEST(Phase1_oconnell bin/Linux/toulbar2 /home/validation/default/oconnell.wcsp -B=0 -v -e:) SET_TESTS_PROPERTIES(Phase1_oconnell PROPERTIES PASS_REGULAR_EXPRESSION Optimum: TIMEOUT 100) i would like to catch the stdout line produced by the test execution the standard output print : = Optimum: 328 in 15 backtracks and 15 nodes and 0 seconds. end. = how can i do to respectively catch foreach test the following informations ; ${Optimum} ${backtracks} ${nodes} ${seconds} my ideas is generate a csv files and post it on the dashboard after post processing. report exemple : cat report.txt test;optimum;backtracks;nodes;seconds; Phase1_oconnell;328;15;15;0; thanks , sincerely Mohamed -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake