Commit 9b600167 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm: don't execute ns/ and ns/user tests simultaneously

One test can't be execute as ns/test ans ns/user/test
simultaneously, because they use the same file tree
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1b4e9058
...@@ -23,8 +23,9 @@ zdtm-tst-list: zdtm.sh ...@@ -23,8 +23,9 @@ zdtm-tst-list: zdtm.sh
./zdtm.sh -l > zdtm-tst-list ./zdtm.sh -l > zdtm-tst-list
zdtm: zdtm-tst-list .FORCE zdtm: zdtm-tst-list .FORCE
$(MAKE) -f Makefile.zdtm zdtm_ns
$(MAKE) -f Makefile.zdtm zdtm_nons $(MAKE) -f Makefile.zdtm zdtm_nons
$(MAKE) -f Makefile.zdtm zdtm_ns
$(MAKE) -f Makefile.zdtm zdtm_ns_user
zdtm-pre-dump: zdtm-tst-list zdtm-pre-dump: zdtm-tst-list
ZDTM_ARGS="-P -p -i 3 -C" $(MAKE) -f Makefile.zdtm ns/static/pipe00 ZDTM_ARGS="-P -p -i 3 -C" $(MAKE) -f Makefile.zdtm ns/static/pipe00
......
...@@ -3,8 +3,9 @@ CFLAGS += -D_GNU_SOURCE ...@@ -3,8 +3,9 @@ CFLAGS += -D_GNU_SOURCE
.FORCE: .FORCE:
zdtm_ns: $(shell echo "$(TST)" | tr ' ' '\n' | awk '/^ns\// && !/tty|pty/ {print}') zdtm_ns: $(shell echo "$(TST)" | tr ' ' '\n' | awk '/^ns\// && !/ns\/user/ {print}')
zdtm_nons: $(shell echo "$(TST)" | tr ' ' '\n' | awk '!/^ns\// || /tty|pty/ {print}') zdtm_ns_user: $(shell echo "$(TST)" | tr ' ' '\n' | awk '/^ns\/user/ {print}')
zdtm_nons: $(shell echo "$(TST)" | tr ' ' '\n' | awk '!/^ns\// {print}')
$(TST): zdtm_ct mount_cgroups .FORCE $(TST): zdtm_ct mount_cgroups .FORCE
./zdtm.sh --ct ${ZDTM_ARGS} -r $(@) &> $(subst /,_,$@).log; \ ./zdtm.sh --ct ${ZDTM_ARGS} -r $(@) &> $(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