[Cmake-commits] [cmake-commits] zach.mullen committed cmCTestBatchTestHandler.cxx 1.6 1.7
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 26 09:44:10 EDT 2009
Update of /cvsroot/CMake/CMake/Source/CTest
In directory public:/mounts/ram/cvs-serv13645/Source/CTest
Modified Files:
cmCTestBatchTestHandler.cxx
Log Message:
Add a ctest test to cover cmCTestBatchTestHandler. Since its behavior isn't fully defined yet, we just run it as is and don't care much about the result.
Index: cmCTestBatchTestHandler.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CTest/cmCTestBatchTestHandler.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** cmCTestBatchTestHandler.cxx 28 Sep 2009 15:42:57 -0000 1.6
--- cmCTestBatchTestHandler.cxx 26 Oct 2009 13:44:07 -0000 1.7
***************
*** 26,30 ****
{
this->WriteBatchScript();
! //this->SubmitBatchScript();
}
--- 26,30 ----
{
this->WriteBatchScript();
! this->SubmitBatchScript();
}
***************
*** 129,137 ****
args.push_back("-o");
args.push_back(this->CTest->GetBinaryDir()
! + "/Testing/CTestBatchOutput.txt");
sbatch.SetCommand("sbatch");
sbatch.SetCommandArguments(args);
! if(sbatch.StartProcess())
{
//success condition
--- 129,137 ----
args.push_back("-o");
args.push_back(this->CTest->GetBinaryDir()
! + "/Testing/CTestBatch.txt");
sbatch.SetCommand("sbatch");
sbatch.SetCommandArguments(args);
! /*if(sbatch.StartProcess())
{
//success condition
***************
*** 140,143 ****
{
//fail condition
! }
}
--- 140,143 ----
{
//fail condition
! }*/
}
More information about the Cmake-commits
mailing list