From: Michael Jeanson Date: Tue, 13 Oct 2020 23:19:10 +0000 (-0400) Subject: port: run namespace tests only on Linux X-Git-Tag: v2.13.0-rc1~430 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=28b3dc1e1eca004cae6023b8e491835ecdfdd041;p=lttng-tools.git port: run namespace tests only on Linux Change-Id: I574d6e7419715e191fb9102e4cfc916ea0e529aa Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/Makefile.am b/tests/regression/Makefile.am index cbac90da7..c76a519de 100644 --- a/tests/regression/Makefile.am +++ b/tests/regression/Makefile.am @@ -59,10 +59,14 @@ TESTS += ust/before-after/test_before_after \ ust/blocking/test_blocking \ ust/multi-lib/test_multi_lib \ ust/rotation-destroy-flush/test_rotation_destroy_flush \ - ust/namespaces/test_ns_contexts \ - ust/namespaces/test_ns_contexts_change \ tools/metadata/test_ust \ tools/relayd-grouping/test_ust + +if IS_LINUX +TESTS += \ + ust/namespaces/test_ns_contexts \ + ust/namespaces/test_ns_contexts_change +endif # IS_LINUX endif # HAVE_LIBLTTNG_UST_CTL if PYTHON_BINDING diff --git a/tests/utils/testapp/Makefile.am b/tests/utils/testapp/Makefile.am index 76b1c8327..a8642e931 100644 --- a/tests/utils/testapp/Makefile.am +++ b/tests/utils/testapp/Makefile.am @@ -1,8 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only SUBDIRS = \ - gen-ns-events \ gen-ust-events \ - gen-ust-events-ns \ gen-ust-nevents \ gen-ust-nevents-str \ gen-ust-tracef \ @@ -22,4 +20,10 @@ if HAVE_MODULES_USERSPACE_CALLSTACK_CONTEXT SUBDIRS += gen-syscall-events-callstack endif # HAVE_MODULES_USERSPACE_CALLSTACK_CONTEXT +if IS_LINUX +SUBDIRS += \ + gen-ns-events \ + gen-ust-events-ns +endif # IS_LINUX + noinst_HEADERS = signal-helper.h