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

Function cmCTestAddSubdirectoryCommand

Source/CTest/cmCTestTestHandler.cxx:150–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150bool cmCTestAddSubdirectoryCommand(std::vector<std::string> const& args,
151 cmExecutionStatus& status)
152{
153 if (args.empty()) {
154 status.SetError("called with incorrect number of arguments");
155 return false;
156 }
157
158 std::string fname =
159 cmStrCat(cmSystemTools::GetLogicalWorkingDirectory(), '/', args[0]);
160
161 return ReadSubdirectory(std::move(fname), status);
162}
163
164class cmCTestAddTestCommand : public cmCTestCommand
165{

Callers

nothing calls this directly

Calls 5

ReadSubdirectoryFunction · 0.85
moveFunction · 0.85
cmStrCatFunction · 0.50
emptyMethod · 0.45
SetErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…