[Cmake-commits] [cmake-commits] king committed CTestUpdateCommon.cmake 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Feb 23 15:58:47 EST 2009
Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv20352/Tests
Modified Files:
CTestUpdateCommon.cmake
Log Message:
ENH: Better failure output from CTest.Update*
This teaches CTestUpdateCommon to report the process exit condition from
failed child processes executed during tests.
Index: CTestUpdateCommon.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CTestUpdateCommon.cmake,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CTestUpdateCommon.cmake 19 Oct 2008 15:53:01 -0000 1.1
--- CTestUpdateCommon.cmake 23 Feb 2009 20:58:44 -0000 1.2
***************
*** 11,15 ****
if(FAILED)
string(REGEX REPLACE "\n" "\n " OUTPUT "${OUTPUT}")
! message(FATAL_ERROR "Child failed. Output is\n ${OUTPUT}\n")
endif(FAILED)
endfunction(run_child)
--- 11,15 ----
if(FAILED)
string(REGEX REPLACE "\n" "\n " OUTPUT "${OUTPUT}")
! message(FATAL_ERROR "Child failed (${FAILED}), output is\n ${OUTPUT}\n")
endif(FAILED)
endfunction(run_child)
More information about the Cmake-commits
mailing list