| 2625 | } |
| 2626 | |
| 2627 | int cmCTest::RunScripts( |
| 2628 | std::vector<std::pair<std::string, bool>> const& scripts) |
| 2629 | { |
| 2630 | if (this->Impl->ExtraVerbose) { |
| 2631 | cmCTestLog(this, OUTPUT, "* Extra verbosity turned on" << std::endl); |
| 2632 | } |
| 2633 | |
| 2634 | auto ch = cm::make_unique<cmCTestScriptHandler>(this); |
| 2635 | for (auto const& script : scripts) { |
| 2636 | ch->AddConfigurationScript(script.first, script.second); |
| 2637 | } |
| 2638 | |
| 2639 | int res = ch->ProcessHandler(); |
| 2640 | if (res != 0) { |
| 2641 | cmCTestLog(this, DEBUG, |
| 2642 | "running script failing returning: " << res << std::endl); |
| 2643 | } |
| 2644 | |
| 2645 | return res; |
| 2646 | } |
| 2647 | |
| 2648 | int cmCTest::ExecuteTests(std::vector<std::string> const& args) |
| 2649 | { |
no test coverage detected