diff options
author | Ruediger Meier | 2014-05-10 17:14:45 +0200 |
---|---|---|
committer | Ruediger Meier | 2014-05-12 09:56:54 +0200 |
commit | 8bb87440daf54f2835196ef3cbf94549d3c9933a (patch) | |
tree | b2ef9f968b0cee7b398b71fd7ca7440f5cc3dcec /tests/Makemodule.am | |
parent | tests: add exit case "KNOWN FAILED" (diff) | |
download | kernel-qcow2-util-linux-8bb87440daf54f2835196ef3cbf94549d3c9933a.tar.gz kernel-qcow2-util-linux-8bb87440daf54f2835196ef3cbf94549d3c9933a.tar.xz kernel-qcow2-util-linux-8bb87440daf54f2835196ef3cbf94549d3c9933a.zip |
tests: allow to add or override test suite options
Now we can do something like this
make check TS_OPTS="--fake --parallel=32"
Note we still always set --parallel but the last one wins.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/Makemodule.am')
-rw-r--r-- | tests/Makemodule.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am index 56b018dc1..8ba860e4b 100644 --- a/tests/Makemodule.am +++ b/tests/Makemodule.am @@ -13,8 +13,9 @@ clean-local-tests: CLEAN_LOCALS += clean-local-tests +TS_OPTS = --nonroot check-local-tests: $(check_PROGRAMS) - $(top_srcdir)/tests/run.sh --parallel --srcdir=$(abs_top_srcdir) --builddir=$(abs_top_builddir) --nonroot + $(top_srcdir)/tests/run.sh --parallel --srcdir=$(abs_top_srcdir) --builddir=$(abs_top_builddir) $(TS_OPTS) CHECK_LOCALS += check-local-tests |