diff options
author | Brad King <brad.king@kitware.com> | 2019-11-07 16:21:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-11-07 19:14:28 (GMT) |
commit | ed65b3e984ccce9b915a5a71e5a8d13b892b63d8 (patch) | |
tree | b23d0a38d6f4e16384d4acd6d575d621e478b72d /Source/CTest/cmCTestMultiProcessHandler.cxx | |
parent | 449fceeb1fd9619d9b01f8aed0e9e5784e10dacb (diff) | |
download | CMake-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.cxx | 6 |
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]); |