|
1 |
| -add_unit_test( |
2 |
| - CRITERION |
3 |
| - TARGET test_otel_protobuf_parser |
4 |
| - SOURCES test-otel-protobuf-parser.cpp |
5 |
| - INCLUDES ${OTEL_PROTO_BUILDDIR} |
6 |
| - DEPENDS otel-cpp) |
| 1 | +if (NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") |
| 2 | + add_unit_test ( |
| 3 | + CRITERION |
| 4 | + TARGET test_otel_protobuf_parser |
| 5 | + SOURCES test-otel-protobuf-parser.cpp |
| 6 | + INCLUDES ${OTEL_PROTO_BUILDDIR} |
| 7 | + DEPENDS otel-cpp) |
7 | 8 |
|
8 |
| -add_unit_test( |
9 |
| - CRITERION |
10 |
| - TARGET test_otel_protobuf_formatter |
11 |
| - SOURCES test-otel-protobuf-formatter.cpp |
12 |
| - INCLUDES ${OTEL_PROTO_BUILDDIR} |
13 |
| - DEPENDS otel-cpp) |
| 9 | + add_unit_test ( |
| 10 | + CRITERION |
| 11 | + TARGET test_otel_protobuf_formatter |
| 12 | + SOURCES test-otel-protobuf-formatter.cpp |
| 13 | + INCLUDES ${OTEL_PROTO_BUILDDIR} |
| 14 | + DEPENDS otel-cpp) |
14 | 15 |
|
15 |
| -add_unit_test( |
16 |
| - CRITERION |
17 |
| - TARGET test_syslog_ng_otlp |
18 |
| - SOURCES test-syslog-ng-otlp.cpp |
19 |
| - INCLUDES ${OTEL_PROTO_BUILDDIR} |
20 |
| - DEPENDS otel-cpp) |
| 16 | + add_unit_test ( |
| 17 | + CRITERION |
| 18 | + TARGET test_syslog_ng_otlp |
| 19 | + SOURCES test-syslog-ng-otlp.cpp |
| 20 | + INCLUDES ${OTEL_PROTO_BUILDDIR} |
| 21 | + DEPENDS otel-cpp) |
21 | 22 |
|
22 |
| -add_unit_test( |
23 |
| - CRITERION |
24 |
| - TARGET test_otel_filterx |
25 |
| - SOURCES test-otel-filterx.cpp |
26 |
| - INCLUDES ${OTEL_PROTO_BUILDDIR} |
27 |
| - DEPENDS otel-cpp otel_filterx_logrecord_cpp) |
| 23 | + add_unit_test ( |
| 24 | + CRITERION |
| 25 | + TARGET test_otel_filterx |
| 26 | + SOURCES test-otel-filterx.cpp |
| 27 | + INCLUDES ${OTEL_PROTO_BUILDDIR} |
| 28 | + DEPENDS otel-cpp otel_filterx_logrecord_cpp) |
| 29 | +endif () |
0 commit comments