[cmake-commits] alex committed cmCTestTestHandler.cxx 1.53 1.53.2.1

cmake-commits at cmake.org cmake-commits at cmake.org
Fri May 11 13:46:04 EDT 2007


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

Modified Files:
      Tag: CMake-CrossCompileBasic
	cmCTestTestHandler.cxx 
Log Message:

ENH: allow it to set UPDATE_TYPE via CTEST_UPDATE_TYPE from
CTestConfig.cmake
-add EXECUTABLE_SUFFIX to DartConfig.tcl so it can be used in ctest
-use CPACK_EXECUTABLE_SUFFIX for cpack (strip, which doesn't work because of the install dir)

Alex


Index: cmCTestTestHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestTestHandler.cxx,v
retrieving revision 1.53
retrieving revision 1.53.2.1
diff -u -d -r1.53 -r1.53.2.1
--- cmCTestTestHandler.cxx	19 Mar 2007 17:04:10 -0000	1.53
+++ cmCTestTestHandler.cxx	11 May 2007 17:46:02 -0000	1.53.2.1
@@ -247,7 +247,7 @@
     }
 
   // if not found try it with the executable extension
-  tryPath += cmSystemTools::GetExecutableExtension();
+  tryPath += cmSystemTools::GetExecutableExtension(); // TODO: probably needs CMAKE_EXECUTABLE_SUFFIX, but will probably not run at all
   if(cmSystemTools::FileExists(tryPath.c_str()))
     {
     *fullPath = cmSystemTools::CollapseFullPath(tryPath.c_str());
@@ -1221,7 +1221,7 @@
       {
       failed.push_back(attempted[ai].c_str());
       tempPath = attempted[ai];
-      tempPath += cmSystemTools::GetExecutableExtension();
+      tempPath += cmSystemTools::GetExecutableExtension(); // TODO: probably needs CMAKE_EXECUTABLE_SUFFIX, but will probably not run at all
       if(cmSystemTools::FileExists(tempPath.c_str())
          && !cmSystemTools::FileIsDirectory(tempPath.c_str()))
         {



More information about the Cmake-commits mailing list