MCPcopy Create free account
hub / github.com/Kitware/CMake / RunScripts

Method RunScripts

Source/cmCTest.cxx:2627–2646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2625}
2626
2627int 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
2648int cmCTest::ExecuteTests(std::vector<std::string> const& args)
2649{

Callers 1

RunMethod · 0.95

Calls 2

ProcessHandlerMethod · 0.45

Tested by

no test coverage detected