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

Method WriteLauncherConfig

Source/CTest/cmCTestBuildHandler.cxx:775–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

773}
774
775void cmCTestBuildHandler::LaunchHelper::WriteLauncherConfig()
776{
777 this->WriteScrapeMatchers("Warning",
778 this->Handler->ReallyCustomWarningMatches);
779 this->WriteScrapeMatchers("WarningSuppress",
780 this->Handler->ReallyCustomWarningExceptions);
781
782 // Give some testing configuration information to the launcher.
783 std::string fname =
784 cmStrCat(this->Handler->CTestLaunchDir, "/CTestLaunchConfig.cmake");
785 cmGeneratedFileStream fout(fname);
786 std::string srcdir = this->CTest->GetCTestConfiguration("SourceDirectory");
787 fout << "set(CTEST_SOURCE_DIRECTORY \"" << srcdir << "\")\n";
788}
789
790void cmCTestBuildHandler::LaunchHelper::WriteScrapeMatchers(
791 char const* purpose, std::vector<std::string> const& matchers)

Callers 1

LaunchHelperMethod · 0.95

Calls 3

WriteScrapeMatchersMethod · 0.95
GetCTestConfigurationMethod · 0.80
cmStrCatFunction · 0.50

Tested by

no test coverage detected