|
@@ -71,10 +71,16 @@ public:
|
|
|
std::string const& output,
|
|
std::string const& output,
|
|
|
std::string const& detail);
|
|
std::string const& detail);
|
|
|
|
|
|
|
|
|
|
+ struct EndTestResult
|
|
|
|
|
+ {
|
|
|
|
|
+ bool Passed = false;
|
|
|
|
|
+ bool StopTimePassed = false;
|
|
|
|
|
+ };
|
|
|
|
|
+
|
|
|
// launch the test process, return whether it started correctly
|
|
// launch the test process, return whether it started correctly
|
|
|
bool StartTest(size_t completed, size_t total);
|
|
bool StartTest(size_t completed, size_t total);
|
|
|
// capture and report the test results
|
|
// capture and report the test results
|
|
|
- bool EndTest(size_t completed, size_t total, bool started);
|
|
|
|
|
|
|
+ EndTestResult EndTest(size_t completed, size_t total, bool started);
|
|
|
// Called by ctest -N to log the command string
|
|
// Called by ctest -N to log the command string
|
|
|
void ComputeArguments();
|
|
void ComputeArguments();
|
|
|
|
|
|
|
@@ -90,8 +96,6 @@ public:
|
|
|
|
|
|
|
|
void FinalizeTest(bool started = true);
|
|
void FinalizeTest(bool started = true);
|
|
|
|
|
|
|
|
- bool TimedOutForStopTime() const { return this->TimeoutIsForStopTime; }
|
|
|
|
|
-
|
|
|
|
|
void SetUseAllocatedResources(bool use)
|
|
void SetUseAllocatedResources(bool use)
|
|
|
{
|
|
{
|
|
|
this->UseAllocatedResources = use;
|
|
this->UseAllocatedResources = use;
|
|
@@ -120,7 +124,6 @@ private:
|
|
|
std::string GetTestPrefix(size_t completed, size_t total) const;
|
|
std::string GetTestPrefix(size_t completed, size_t total) const;
|
|
|
|
|
|
|
|
cmCTestTestHandler::cmCTestTestProperties* TestProperties;
|
|
cmCTestTestHandler::cmCTestTestProperties* TestProperties;
|
|
|
- bool TimeoutIsForStopTime = false;
|
|
|
|
|
// Pointer back to the "parent"; the handler that invoked this test run
|
|
// Pointer back to the "parent"; the handler that invoked this test run
|
|
|
cmCTestTestHandler* TestHandler;
|
|
cmCTestTestHandler* TestHandler;
|
|
|
cmCTest* CTest;
|
|
cmCTest* CTest;
|