]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: style Makefile and make output
authorRuediger Meier <ruediger.meier@ga-group.nl>
Sat, 10 May 2014 15:23:22 +0000 (17:23 +0200)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Mon, 12 May 2014 07:57:14 +0000 (09:57 +0200)
We break long lines and make output sill looks nice with and without
V=1.

As a side effect we can now run
  make TS_COMMAND="true"
to do nothing but building all check_PROGRAMS.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests/Makemodule.am

index 8ba860e4bf6f73d5dd77073ae4e9deece316743d..61798c98efeb8dcf3cd0a346ec256f51659dc39e 100644 (file)
@@ -14,8 +14,11 @@ clean-local-tests:
 CLEAN_LOCALS += clean-local-tests
 
 TS_OPTS = --nonroot
+TS_COMMAND = $(top_srcdir)/tests/run.sh \
+       --srcdir=$(abs_top_srcdir) --builddir=$(abs_top_builddir) \
+       --parallel $(TS_OPTS)
 
 check-local-tests: $(check_PROGRAMS)
-       $(top_srcdir)/tests/run.sh --parallel --srcdir=$(abs_top_srcdir) --builddir=$(abs_top_builddir) $(TS_OPTS)
+       $(AM_V_GEN) $(TS_COMMAND)
 
 CHECK_LOCALS += check-local-tests