diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index bee7165dd1..758ea573d9 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -207,7 +207,7 @@ bool cmCTestMultiProcessHandler::StartTestProcess(int test) testRun->StartFailure("Failed to change working directory to " + this->Properties[test]->Directory + " : " + std::strerror(workdir.GetLastResult()), - "Failed to start"); + "Failed to change working directory"); } else { if (testRun->StartTest(this->Completed, this->Total)) { // Ownership of 'testRun' has moved to another structure. diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx index f0a3af1d5f..ec549606fd 100644 --- a/Source/CTest/cmCTestRunTest.cxx +++ b/Source/CTest/cmCTestRunTest.cxx @@ -326,7 +326,7 @@ bool cmCTestRunTest::StartAgain(size_t completed) this->StartFailure("Failed to change working directory to " + this->TestProperties->Directory + " : " + std::strerror(workdir.GetLastResult()), - "Failed to start"); + "Failed to change working directory"); return true; }