summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestCommand.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-07-09 20:06:17 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-02 13:33:54 (GMT)
commite34de0691b3bd94720c44c1efad47c3d39ff4134 (patch)
tree934491b44ad3d1241b73226f7539fff6d042c2b5 /Source/CTest/cmCTestTestCommand.cxx
parentaee09648511433160f7fd660eb3c746719810216 (diff)
downloadCMake-e34de0691b3bd94720c44c1efad47c3d39ff4134.zip
CMake-e34de0691b3bd94720c44c1efad47c3d39ff4134.tar.gz
CMake-e34de0691b3bd94720c44c1efad47c3d39ff4134.tar.bz2
CTest: Allocate hardware to tests
Diffstat (limited to 'Source/CTest/cmCTestTestCommand.cxx')
-rw-r--r--Source/CTest/cmCTestTestCommand.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestCommand.cxx b/Source/CTest/cmCTestTestCommand.cxx
index d200b40..5496353 100644
--- a/Source/CTest/cmCTestTestCommand.cxx
+++ b/Source/CTest/cmCTestTestCommand.cxx
@@ -32,6 +32,7 @@ void cmCTestTestCommand::BindArguments()
this->Bind("SCHEDULE_RANDOM"_s, this->ScheduleRandom);
this->Bind("STOP_TIME"_s, this->StopTime);
this->Bind("TEST_LOAD"_s, this->TestLoad);
+ this->Bind("HARDWARE_SPEC_FILE"_s, this->HardwareSpecFile);
}
cmCTestGenericHandler* cmCTestTestCommand::InitializeHandler()
@@ -87,6 +88,9 @@ cmCTestGenericHandler* cmCTestTestCommand::InitializeHandler()
if (!this->ScheduleRandom.empty()) {
handler->SetOption("ScheduleRandom", this->ScheduleRandom.c_str());
}
+ if (!this->HardwareSpecFile.empty()) {
+ handler->SetOption("HardwareSpecFile", this->HardwareSpecFile.c_str());
+ }
if (!this->StopTime.empty()) {
this->CTest->SetStopTime(this->StopTime);
}