summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMultiProcessHandler.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-07 16:21:03 (GMT)
committerBrad King <brad.king@kitware.com>2019-11-07 19:14:28 (GMT)
commited65b3e984ccce9b915a5a71e5a8d13b892b63d8 (patch)
treeb23d0a38d6f4e16384d4acd6d575d621e478b72d /Source/CTest/cmCTestMultiProcessHandler.cxx
parent449fceeb1fd9619d9b01f8aed0e9e5784e10dacb (diff)
downloadCMake-ed65b3e984ccce9b915a5a71e5a8d13b892b63d8.zip
CMake-ed65b3e984ccce9b915a5a71e5a8d13b892b63d8.tar.gz
CMake-ed65b3e984ccce9b915a5a71e5a8d13b892b63d8.tar.bz2
CTest: Rename internal APIs for --repeat options
Replace use of the term "rerun" with "repeat" to match the public names.
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r--Source/CTest/cmCTestMultiProcessHandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx
index 9ab3c2e..992a2ef 100644
--- a/Source/CTest/cmCTestMultiProcessHandler.cxx
+++ b/Source/CTest/cmCTestMultiProcessHandler.cxx
@@ -171,9 +171,9 @@ bool cmCTestMultiProcessHandler::StartTestProcess(int test)
this->RunningCount += GetProcessorsUsed(test);
cmCTestRunTest* testRun = new cmCTestRunTest(*this);
- if (this->CTest->GetRerunMode() != cmCTest::Rerun::Never) {
- testRun->SetRerunMode(this->CTest->GetRerunMode());
- testRun->SetNumberOfRuns(this->CTest->GetTestRepeat());
+ if (this->CTest->GetRepeatMode() != cmCTest::Repeat::Never) {
+ testRun->SetRepeatMode(this->CTest->GetRepeatMode());
+ testRun->SetNumberOfRuns(this->CTest->GetRepeatCount());
}
testRun->SetIndex(test);
testRun->SetTestProperties(this->Properties[test]);