| 138 | } |
| 139 | |
| 140 | void 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 | |
| 157 | cmsys::SystemInformation& cmInstrumentation::GetSystemInformation() |
| 158 | { |
no test coverage detected