| 63 | } |
| 64 | |
| 65 | void cmCTestScriptHandler::UpdateElapsedTime() |
| 66 | { |
| 67 | if (this->Makefile) { |
| 68 | // set the current elapsed time |
| 69 | auto itime = cmDurationTo<unsigned int>(this->CTest->GetElapsedTime()); |
| 70 | auto timeString = std::to_string(itime); |
| 71 | this->Makefile->AddDefinition("CTEST_ELAPSED_TIME", timeString); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | int cmCTestScriptHandler::ExecuteScript(std::string const& total_script_arg) |
| 76 | { |
no test coverage detected