summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-03 14:47:14 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-03 14:47:14 (GMT)
commit659171d1f72e24c2cdda6a935f29f528cc518969 (patch)
tree20f254b0f953956ada7b475bb22ff7a72c1b352e /Source/CTest/cmCTestMultiProcessHandler.cxx
parente3086213820a97db8432bf6089155509164fe960 (diff)
downloadCMake-659171d1f72e24c2cdda6a935f29f528cc518969.zip
CMake-659171d1f72e24c2cdda6a935f29f528cc518969.tar.gz
CMake-659171d1f72e24c2cdda6a935f29f528cc518969.tar.bz2
ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS option to set_tests_properties (implementation to come).
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index be5bbfd..0f7cd3c 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -74,10 +74,10 @@ void cmCTestMultiProcessHandler::RunTests()
void cmCTestMultiProcessHandler::SubmitBatchTests()
{
for(cmCTest::CTestConfigurationMap::iterator i =
- this->CTest->CTestConfiguration.begin();
- i != this->CTest->CTestConfiguration.end(); ++i)
+ this->CTest->CTestConfiguration.begin();
+ i != this->CTest->CTestConfiguration.end(); ++i)
{
- cmCTestLog(this->CTest, HANDLER_OUTPUT, i->first
+ cmCTestLog(this->CTest, HANDLER_OUTPUT, i->first
<< " = " << i->second << std::endl);
}
}
@@ -161,6 +161,9 @@ void cmCTestMultiProcessHandler::StartNextTests()
for(TestMap::iterator i = tests.begin();
i != tests.end(); ++i)
{
+ int processors = this->Properties[i->first]->Processors;
+
+// if(processors > )
// start test should start only one test
if(this->StartTest(i->first))
{