summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.h
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/cmCTestRunTest.h
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/cmCTestRunTest.h')
-rw-r--r--Source/CTest/cmCTestRunTest.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestRunTest.h b/Source/CTest/cmCTestRunTest.h
index d5e83d9..7eeaebd 100644
--- a/Source/CTest/cmCTestRunTest.h
+++ b/Source/CTest/cmCTestRunTest.h
@@ -35,7 +35,7 @@ public:
this->NumberOfRunsTotal = n;
}
- void SetRerunMode(cmCTest::Rerun r) { this->RerunMode = r; }
+ void SetRepeatMode(cmCTest::Repeat r) { this->RepeatMode = r; }
void SetTestProperties(cmCTestTestHandler::cmCTestTestProperties* prop)
{
this->TestProperties = prop;
@@ -102,7 +102,7 @@ public:
}
private:
- bool NeedsToRerun();
+ bool NeedsToRepeat();
void DartProcessing();
void ExeNotFound(std::string exe);
bool ForkProcess(cmDuration testTimeOut, bool explicitTimeout,
@@ -136,7 +136,7 @@ private:
std::vector<std::map<
std::string, std::vector<cmCTestMultiProcessHandler::ResourceAllocation>>>
AllocatedResources;
- cmCTest::Rerun RerunMode = cmCTest::Rerun::Never;
+ cmCTest::Repeat RepeatMode = cmCTest::Repeat::Never;
int NumberOfRunsLeft = 1; // default to 1 run of the test
int NumberOfRunsTotal = 1; // default to 1 run of the test
bool RunAgain = false; // default to not having to run again