Commit 2379c670 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

test/make: transfer arguments for zdtm.sh

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: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 8bd7ac77
TST = $(shell ./zdtm.sh -l) TST = $(shell ./zdtm.sh -l)
EXP = '^ns/(?!.*(tty|pty))' EXP = '^ns/(?!.*(tty|pty))'
ZDTM_ARGS ?= -C
.FORCE: .FORCE:
all: .FORCE all: .FORCE
...@@ -17,4 +19,4 @@ fault-injection: .FORCE ...@@ -17,4 +19,4 @@ fault-injection: .FORCE
zdtm_ns: $(shell echo "$(TST)" | tr ' ' '\n' | grep -P $(EXP)) zdtm_ns: $(shell echo "$(TST)" | tr ' ' '\n' | grep -P $(EXP))
$(TST): $(TST):
./zdtm.sh $(@) &> $(subst /,_,$@).log ./zdtm.sh ${ZDTM_ARGS} $(@) &> $(subst /,_,$@).log
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment