From 10135168446a5b8e29e2561543f9518269f17e49 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 16 Jul 2021 14:54:37 -0400 Subject: [PATCH] port: build kernel tests only on linux MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I81e4b2cf161d25aa939f312bb6a728cf9420a9d4 Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- tests/regression/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 \ -- 2.34.1