diff options
author | Michael Wegner <michael_wegner@apple.com> | 2018-09-08 22:36:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-09-25 12:20:57 (GMT) |
commit | 62fbe5002aa23c7591e325e622e62a2d1ed789be (patch) | |
tree | 5a865631c9d43f6c8768f08b9d7d83e4d6ff12da /Source/CTest/cmCTestMultiProcessHandler.cxx | |
parent | 02c5091c905964b529020070b4b24616d8a3fbd8 (diff) | |
download | CMake-62fbe5002aa23c7591e325e622e62a2d1ed789be.zip CMake-62fbe5002aa23c7591e325e622e62a2d1ed789be.tar.gz CMake-62fbe5002aa23c7591e325e622e62a2d1ed789be.tar.bz2 |
cmCTestRunTest: Thread number of completed tests through start APIs
Diffstat (limited to 'Source/CTest/cmCTestMultiProcessHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index 3e0c1ac..f026001 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -178,7 +178,7 @@ bool cmCTestMultiProcessHandler::StartTestProcess(int test) this->Properties[test]->Directory + " : " + std::strerror(workdir.GetLastResult())); } else { - if (testRun->StartTest(this->Total)) { + if (testRun->StartTest(this->Completed, this->Total)) { return true; } } @@ -440,7 +440,7 @@ void cmCTestMultiProcessHandler::FinishTestProcess(cmCTestRunTest* runner, this->SetStopTimePassed(); } if (started) { - if (!this->StopTimePassed && runner->StartAgain()) { + if (!this->StopTimePassed && runner->StartAgain(this->Completed)) { this->Completed--; // remove the completed test because run again return; } |