criu/test/Makefile
Kir Kolyshkin c42f6ce2e6 test/Makefile: rm bad code
The 'umount2: umount2' doesn't make sense as it's a circular dependency.
It came from commit e7b152fd and probably meant to say
"umount2: umount2.c" instead.

But it's not needed either as make has implicit rules like that.

Drop the "zdtm_ct: zdtm_ct.c" for same reason.

travis-ci: success for test/Makefile: rm bad code
Cc: Andrei Vagin <avagin@openvz.org>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-10-10 12:48:20 +03:00

61 lines
1.3 KiB
Makefile

RM := rm -f --one-file-system
ZDTM_ARGS ?= -C
export ZDTM_ARGS
all:
$(MAKE) zdtm
$(MAKE) zdtm-pre-dump
$(MAKE) zdtm-snapshot
$(MAKE) zdtm-iter
$(MAKE) zdtm-freezer
.PHONY: all
TESTS = unix-callback mem-snap rpc libcriu mounts/ext security pipes crit socketpairs overlayfs mnt-ext-dev
other:
for t in $(TESTS); do \
setsid $(MAKE) -C others/$$t run || exit 1; \
done
.PHONY: other
zdtm:
./zdtm.py run -a --parallel 2
.PHONY: zdtm
zdtm-pre-dump:
./zdtm.py run --pre 2:1 -t zdtm/transition/fork -f uns
.PHONY: zdtm
zdtm-snapshot:
./zdtm.py run --pre 2:1 --snap -t zdtm/transition/fork -f uns
.PHONY: zdtm-snapshot
zdtm-iter:
./zdtm.py run --iters 3:1 -t zdtm/transition/fork -f uns
.PHONY: zdtm-iter
zdtm-freezer:
./zdtm.py run --test zdtm/transition/thread-bomb --pre 3 --freezecg zdtm:t
./zdtm.py run --test zdtm/transition/thread-bomb --pre 3 --freezecg zdtm:f
.PHONY: zdtm-freezer
fault-injection:
$(MAKE) -C fault-injection
.PHONY: fault-injection
override CFLAGS += -D_GNU_SOURCE
clean_root:
$(Q) ./zdtm.py clean nsroot
.PHONY: clean_root
clean: clean_root
$(RM) zdtm_ct zdtm-tst-list umount2
$(Q) $(RM) *.log
$(Q) $(RM) -r ./dump/
$(Q) $(MAKE) -C zdtm cleandep clean cleanout
$(Q) $(MAKE) -C libcriu clean
$(Q) $(MAKE) -C rpc clean
$(Q) $(MAKE) -C crit clean
.PHONY: clean