]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests,autotools: add TESTS_COMPONENTS macro for specfying test components from make...
authorMasatake YAMATO <yamato@redhat.com>
Tue, 1 Aug 2023 17:12:02 +0000 (02:12 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Tue, 1 Aug 2023 17:12:06 +0000 (02:12 +0900)
An example cmdline:

$ make check TESTS_COMPONENTS=lsfd

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/Makemodule.am

index d5422bebf5cd7a3d4d49601854ca3c81d308344c..3a66f271aa3e074c9a1f6fc4482cf8ebf6b3849a 100644 (file)
@@ -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)