summaryrefslogtreecommitdiffstats
path: root/tests/Makemodule.am
diff options
context:
space:
mode:
authorRuediger Meier2014-05-10 17:14:45 +0200
committerRuediger Meier2014-05-12 09:56:54 +0200
commit8bb87440daf54f2835196ef3cbf94549d3c9933a (patch)
treeb2ef9f968b0cee7b398b71fd7ca7440f5cc3dcec /tests/Makemodule.am
parenttests: add exit case "KNOWN FAILED" (diff)
downloadkernel-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.am3
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