Skip to content

Commit 7b3dbd0

Browse files
authored
[BUILD] Only build and run the exemplar tests if the preview flag is set (open-telemetry#3675)
1 parent 064dfe3 commit 7b3dbd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sdk/test/metrics/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,6 @@ if(WITH_BENCHMARK)
8080
metrics_common_test_utils opentelemetry_common opentelemetry_resources)
8181
endif()
8282

83-
add_subdirectory(exemplar)
83+
if(WITH_METRICS_EXEMPLAR_PREVIEW)
84+
add_subdirectory(exemplar)
85+
endif()

0 commit comments

Comments
 (0)