From: Ruediger Meier Date: Sat, 10 May 2014 15:23:22 +0000 (+0200) Subject: tests: style Makefile and make output X-Git-Tag: v2.25-rc1~191^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b240fd03add3189b4b831224f3c12658eb904a3;p=thirdparty%2Futil-linux.git tests: style Makefile and make output 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 --- diff --git a/tests/Makemodule.am b/tests/Makemodule.am index 8ba860e4bf..61798c98ef 100644 --- a/tests/Makemodule.am +++ b/tests/Makemodule.am @@ -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