[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.406 1.407 ctest.cxx 1.104 1.105

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Feb 11 11:31:27 EST 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv7612/Source

Modified Files:
	CMakeLists.txt ctest.cxx 
Log Message:
ENH: Create internal 'ctest --launch' tool

This creates an undocumented 'ctest --launch' mode.  It launches a
specified command and optionally records a failure in an xml fragment.
We will optionally use this in CTest's Build stage to record per-rule
build failure information when using Makefile generators.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CMakeLists.txt,v
retrieving revision 1.406
retrieving revision 1.407
diff -C 2 -d -r1.406 -r1.407
*** CMakeLists.txt	5 Feb 2009 21:31:33 -0000	1.406
--- CMakeLists.txt	11 Feb 2009 16:31:25 -0000	1.407
***************
*** 328,331 ****
--- 328,332 ----
    CTest/cmCTestGenericHandler.cxx
    CTest/cmCTestHandlerCommand.cxx
+   CTest/cmCTestLaunch.cxx
    CTest/cmCTestMemCheckCommand.cxx
    CTest/cmCTestMemCheckHandler.cxx

Index: ctest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/ctest.cxx,v
retrieving revision 1.104
retrieving revision 1.105
diff -C 2 -d -r1.104 -r1.105
*** ctest.cxx	18 Jan 2009 18:03:32 -0000	1.104
--- ctest.cxx	11 Feb 2009 16:31:25 -0000	1.105
***************
*** 23,26 ****
--- 23,28 ----
  
  #include "CTest/cmCTestScriptHandler.h"
+ #include "CTest/cmCTestLaunch.h"
+ 
  //----------------------------------------------------------------------------
  static const char * cmDocumentationName[][3] =
***************
*** 218,221 ****
--- 220,230 ----
    cmSystemTools::EnableMSVCDebugHook();
    cmSystemTools::FindExecutableDirectory(argv[0]);
+ 
+   // Dispatch 'ctest --launch' mode directly.
+   if(argc >= 2 && strcmp(argv[1], "--launch") == 0)
+     {
+     return cmCTestLaunch::Main(argc, argv);
+     }
+ 
    int nocwd = 0;
    cmCTest inst;



More information about the Cmake-commits mailing list