From 418f5adbee2cabcdf4c6ef34eac7cb92317975f4 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Wed, 2 Aug 2023 02:12:02 +0900 Subject: [PATCH] tests,autotools: add TESTS_COMPONENTS macro for specfying test components from make cmdline An example cmdline: $ make check TESTS_COMPONENTS=lsfd Signed-off-by: Masatake YAMATO --- tests/Makemodule.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Makemodule.am b/tests/Makemodule.am index d5422bebf5..3a66f271aa 100644 --- a/tests/Makemodule.am +++ b/tests/Makemodule.am @@ -15,11 +15,13 @@ CLEAN_LOCALS += clean-local-tests TESTS_OPTIONS = --nonroot --show-diff TESTS_PARALLEL = --parallel +TESTS_COMPONENTS = TESTS_COMMAND = $(top_srcdir)/tests/run.sh \ --srcdir=$(abs_top_srcdir) \ --builddir=$(abs_top_builddir) \ $(TESTS_PARALLEL) \ - $(TESTS_OPTIONS) + $(TESTS_OPTIONS) \ + $(TESTS_COMPONENTS) check-local-tests: $(check_PROGRAMS) $(AM_V_GEN) $(TESTS_COMMAND) -- 2.47.3