From f0bc0ec844dac61f744c39d3888f8c6a188bd836 Mon Sep 17 00:00:00 2001 From: Hofi Date: Thu, 1 Aug 2024 13:23:01 +0200 Subject: [PATCH] test: turned off otel tests on macOS that otherwise causes linker errors Signed-off-by: Hofi --- configure.ac | 1 + modules/grpc/otel/tests/Makefile.am | 2 ++ 2 files changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 0e9d96c523..77c362ec27 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/modules/grpc/otel/tests/Makefile.am b/modules/grpc/otel/tests/Makefile.am index 706734d99b..281d3413df 100644 --- a/modules/grpc/otel/tests/Makefile.am +++ b/modules/grpc/otel/tests/Makefile.am @@ -1,5 +1,6 @@ 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 \ @@ -7,6 +8,7 @@ modules_grpc_otel_tests_TESTS = \ 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