[Cmake-commits] [cmake-commits] hoffman committed CTestUpdateCommon.cmake 1.5 1.6

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Aug 11 22:01:52 EDT 2009


Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv29266

Modified Files:
	CTestUpdateCommon.cmake 
Log Message:
Output command that failed, if it fails.


Index: CTestUpdateCommon.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CTestUpdateCommon.cmake,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** CTestUpdateCommon.cmake	26 Feb 2009 14:22:16 -0000	1.5
--- CTestUpdateCommon.cmake	12 Aug 2009 02:01:49 -0000	1.6
***************
*** 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)
--- 11,16 ----
    if(FAILED)
      string(REGEX REPLACE "\n" "\n  " OUTPUT "${OUTPUT}")
!     message(FATAL_ERROR "Child failed (${FAILED}), output is\n  ${OUTPUT}\n"
!       "Command = [${ARGN}]\n")
    endif(FAILED)
  endfunction(run_child)



More information about the Cmake-commits mailing list