From: Masatake YAMATO Date: Tue, 1 Aug 2023 17:12:02 +0000 (+0900) Subject: tests,autotools: add TESTS_COMPONENTS macro for specfying test components from make... X-Git-Tag: v2.40-rc1~302^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=418f5adbee2cabcdf4c6ef34eac7cb92317975f4;p=thirdparty%2Futil-linux.git 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 --- 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)