diff options
author | Ruediger Meier | 2014-05-10 17:23:22 +0200 |
---|---|---|
committer | Ruediger Meier | 2014-05-12 09:57:14 +0200 |
commit | 9b240fd03add3189b4b831224f3c12658eb904a3 (patch) | |
tree | e06f2eb9060f6bc103cc19c62b8938364d8c3bd1 /tests/Makemodule.am | |
parent | tests: allow to add or override test suite options (diff) | |
download | kernel-qcow2-util-linux-9b240fd03add3189b4b831224f3c12658eb904a3.tar.gz kernel-qcow2-util-linux-9b240fd03add3189b4b831224f3c12658eb904a3.tar.xz kernel-qcow2-util-linux-9b240fd03add3189b4b831224f3c12658eb904a3.zip |
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 <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/Makemodule.am')
-rw-r--r-- | tests/Makemodule.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am index 8ba860e4b..61798c98e 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 |