[Cmake-commits] [cmake-commits] zach.mullen committed cmCTest.cxx 1.366 1.367 cmCTest.h 1.119 1.120
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Sep 2 10:08:43 EDT 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv7559/Source
Modified Files:
cmCTest.cxx cmCTest.h
Log Message:
Fixed ctest output where max test index is not the same width as the total number of tests. Also some preliminary changes for batching ctest jobs
Index: cmCTest.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCTest.h,v
retrieving revision 1.119
retrieving revision 1.120
diff -C 2 -d -r1.119 -r1.120
*** cmCTest.h 27 Aug 2009 14:37:30 -0000 1.119
--- cmCTest.h 2 Sep 2009 14:08:40 -0000 1.120
***************
*** 51,54 ****
--- 51,55 ----
{
friend class cmCTestRunTest;
+ friend class cmCTestMultiProcessHandler;
public:
/** Enumerate parts of the testing and submission process. */
***************
*** 366,369 ****
--- 367,373 ----
bool GetFailover() { return this->Failover; }
+ void SetBatchJobs(bool batch = true) { this->BatchJobs = batch; }
+ bool GetBatchJobs() { return this->BatchJobs; }
+
bool GetVerbose() { return this->Verbose;}
bool GetExtraVerbose() { return this->ExtraVerbose;}
***************
*** 380,383 ****
--- 384,388 ----
bool Failover;
+ bool BatchJobs;
bool ForceNewCTestProcess;
Index: cmCTest.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCTest.cxx,v
retrieving revision 1.366
retrieving revision 1.367
diff -C 2 -d -r1.366 -r1.367
*** cmCTest.cxx 27 Aug 2009 14:37:28 -0000 1.366
--- cmCTest.cxx 2 Sep 2009 14:08:39 -0000 1.367
***************
*** 212,215 ****
--- 212,216 ----
this->SubmitIndex = 0;
this->Failover = false;
+ this->BatchJobs = false;
this->ForceNewCTestProcess = false;
this->TomorrowTag = false;
***************
*** 1746,1749 ****
--- 1747,1754 ----
this->Verbose = true;
}
+ if(this->CheckArgument(arg, "-B"))
+ {
+ this->BatchJobs = true;
+ }
if(this->CheckArgument(arg, "-VV", "--extra-verbose"))
{
More information about the Cmake-commits
mailing list