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

Method WriteScrapeMatchers

Source/CTest/cmCTestBuildHandler.cxx:790–802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

788}
789
790void cmCTestBuildHandler::LaunchHelper::WriteScrapeMatchers(
791 char const* purpose, std::vector<std::string> const& matchers)
792{
793 if (matchers.empty()) {
794 return;
795 }
796 std::string fname =
797 cmStrCat(this->Handler->CTestLaunchDir, "/Custom", purpose, ".txt");
798 cmGeneratedFileStream fout(fname);
799 for (std::string const& m : matchers) {
800 fout << m << "\n";
801 }
802}
803
804bool cmCTestBuildHandler::RunMakeCommand(std::string const& command,
805 int* retVal, char const* dir,

Callers 1

WriteLauncherConfigMethod · 0.95

Calls 2

cmStrCatFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected