[CRIU] [PATCH] test/make: transfer arguments for zdtm.sh
Andrey Vagin
avagin at openvz.org
Fri Dec 27 13:18:09 PST 2013
make ZDTM_ARGS="-C -i 2" -C test/ zdtm_ns -j 8
make is able to execute tests concurrently.
Now we can customize execution of tests
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
test/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test/Makefile b/test/Makefile
index 65b17ba..bb32826 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,6 +1,8 @@
TST = $(shell ./zdtm.sh -l)
EXP = '^ns/(?!.*(tty|pty))'
+ZDTM_ARGS ?= -C
+
.FORCE:
all: .FORCE
@@ -17,4 +19,4 @@ fault-injection: .FORCE
zdtm_ns: $(shell echo "$(TST)" | tr ' ' '\n' | grep -P $(EXP))
$(TST):
- ./zdtm.sh $(@) &> $(subst /,_,$@).log
+ ./zdtm.sh ${ZDTM_ARGS} $(@) &> $(subst /,_,$@).log
--
1.8.3.1
More information about the CRIU
mailing list