From: Michael Jeanson Date: Fri, 16 Jul 2021 18:54:37 +0000 (-0400) Subject: port: build kernel tests only on linux X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=10135168446a5b8e29e2561543f9518269f17e49;p=lttng-tools.git port: build kernel tests only on linux Change-Id: I81e4b2cf161d25aa939f312bb6a728cf9420a9d4 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 477ee9735..1ff5ad7f3 100644 --- a/tests/regression/Makefile.am +++ b/tests/regression/Makefile.am @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only -SUBDIRS = tools kernel ust +SUBDIRS = tools LOG_DRIVER_FLAGS = --merge --post-script $(top_srcdir)/tests/utils/warn_processes.sh LOG_DRIVER = env PGREP='$(PGREP)' AM_TAP_AWK='$(AWK)' $(SHELL) \ @@ -65,6 +65,11 @@ TESTS = tools/base-path/test_ust \ tools/trigger/name/test_trigger_name_backwards_compat \ tools/trigger/hidden/test_hidden_trigger +# Only build kernel tests on Linux. +if IS_LINUX +SUBDIRS += kernel +endif # IS_LINUX + if HAVE_LIBLTTNG_UST_CTL SUBDIRS += ust TESTS += ust/before-after/test_before_after \