We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19badf7 commit e6fa138Copy full SHA for e6fa138
llvm/unittests/Telemetry/TelemetryTest.cpp
@@ -213,6 +213,8 @@ std::shared_ptr<Config> getTelemetryConfig(const TestContext &Ctxt) {
213
}
214
215
TEST(TelemetryTest, TelemetryDisabled) {
216
+ if (!Config::BuildTimeEnableTelemetry)
217
+ GTEST_SKIP();
218
TestContext Context;
219
Context.HasVendorPlugin = false;
220
@@ -222,6 +224,8 @@ TEST(TelemetryTest, TelemetryDisabled) {
222
224
223
225
226
TEST(TelemetryTest, TelemetryEnabled) {
227
228
229
const std::string ToolName = "TelemetryTestTool";
230
231
// Preset some params.
0 commit comments