[Cmake-commits] [cmake-commits] zach.mullen committed cmCTestRunTest.cxx 1.37 1.38

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Feb 4 11:24:59 EST 2010


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

Modified Files:
	cmCTestRunTest.cxx 
Log Message:
Support for relative paths to executables in MemCheck tests.  Also fixed a bug causing memcheck args to be overwritten repetitively.


Index: cmCTestRunTest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestRunTest.cxx,v
retrieving revision 1.37
retrieving revision 1.38
diff -C 2 -d -r1.37 -r1.38
*** cmCTestRunTest.cxx	21 Dec 2009 14:52:56 -0000	1.37
--- cmCTestRunTest.cxx	4 Feb 2010 16:24:57 -0000	1.38
***************
*** 443,446 ****
--- 443,448 ----
        (this->TestHandler);
      this->ActualCommand = handler->MemoryTester.c_str();
+     this->TestProperties->Args[1] = this->TestHandler->FindTheExecutable(
+       this->TestProperties->Args[1].c_str());
      }
    else
***************
*** 460,464 ****
      {
      this->TestCommand += " ";
!     this->TestCommand += cmSystemTools::EscapeSpaces(j->c_str());
      }
  
--- 462,466 ----
      {
      this->TestCommand += " ";
!     this->TestCommand += cmSystemTools::EscapeSpaces(i->c_str());
      }
  



More information about the Cmake-commits mailing list