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

Method CheckCDashVariable

Source/cmInstrumentation.cxx:140–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void cmInstrumentation::CheckCDashVariable()
141{
142 std::string envVal;
143 if (cmSystemTools::GetEnv("CTEST_USE_INSTRUMENTATION", envVal) &&
144 !cmIsOff(envVal)) {
145 std::set<cmInstrumentationQuery::Option> options_ = {
146 cmInstrumentationQuery::Option::CDashSubmit
147 };
148 if (cmSystemTools::GetEnv("CTEST_USE_VERBOSE_INSTRUMENTATION", envVal) &&
149 !cmIsOff(envVal)) {
150 options_.insert(cmInstrumentationQuery::Option::CDashVerbose);
151 }
152 std::set<cmInstrumentationQuery::Hook> hooks_;
153 this->WriteJSONQuery(latestDataVersion, options_, hooks_, {});
154 }
155}
156
157cmsys::SystemInformation& cmInstrumentation::GetSystemInformation()
158{

Callers 1

ActualConfigureMethod · 0.80

Calls 3

WriteJSONQueryMethod · 0.95
cmIsOffFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected