From 8bb87440daf54f2835196ef3cbf94549d3c9933a Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Sat, 10 May 2014 17:14:45 +0200 Subject: 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 --- tests/Makemodule.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/Makemodule.am') 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 -- cgit v1.2.3-55-g7522