Skip to content

Commit

Permalink
test: turned off otel tests on macOS that otherwise causes linker errors
Browse files Browse the repository at this point in the history
Signed-off-by: Hofi <[email protected]>
  • Loading branch information
HofiOne authored and MrAnno committed Aug 29, 2024
1 parent 7449599 commit f0bc0ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2301,6 +2301,7 @@ AM_CONDITIONAL([HAVE_FMEMOPEN], [test x$ac_cv_func_fmemopen = xyes])
AM_CONDITIONAL([HAVE_JAVAH], [test -n "$JAVAH_BIN"])
AM_CONDITIONAL(ENABLE_IPV6, [test $enable_ipv6 = yes])

AM_CONDITIONAL(OS_TYPE_MACOS, [test $ostype = "Darwin"])

AC_SUBST(PYTHON_VENV)
AC_SUBST(PYTHON_VENV_DIR)
Expand Down
2 changes: 2 additions & 0 deletions modules/grpc/otel/tests/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
if ENABLE_GRPC

if ! OS_TYPE_MACOS
modules_grpc_otel_tests_TESTS = \
modules/grpc/otel/tests/test_otel_protobuf_parser \
modules/grpc/otel/tests/test_otel_protobuf_formatter \
modules/grpc/otel/tests/test_syslog_ng_otlp \
modules/grpc/otel/tests/test_otel_filterx

check_PROGRAMS += ${modules_grpc_otel_tests_TESTS}
endif

modules_grpc_otel_tests_test_otel_protobuf_parser_SOURCES = \
modules/grpc/otel/tests/test-otel-protobuf-parser.cpp
Expand Down

0 comments on commit f0bc0ec

Please sign in to comment.