2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-28 21:07:43 +00:00

make: Move legacy tests to test/legacy and use "make test" to run zdtm tests

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2012-01-24 19:37:44 +04:00
parent 71fca5d2da
commit a88cd36e7b
11 changed files with 12 additions and 3 deletions

View File

@ -153,8 +153,16 @@ $(DEPS_GEN): $(HEAD-BLOB-GEN) $(RHEAD-BLOB-GEN)
%.d: %.c
$(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@
test:
$(Q) $(MAKE) -C test all
test-legacy:
$(Q) $(MAKE) -C test/legacy all
.PHONY: test-legacy
zdtm:
$(Q) $(MAKE) -C test/zdtm all
.PHONY: zdtm
test: zdtm
$(Q) $(sh) test/zdtm.sh
.PHONY: test
rebuild:
@ -176,7 +184,8 @@ clean:
$(Q) $(RM) -f ./$(PROGRAM)
$(Q) $(RM) -f ./$(HEAD-BLOB-GEN)
$(Q) $(RM) -f ./$(RHEAD-BLOB-GEN)
$(Q) $(MAKE) -C test clean
$(Q) $(MAKE) -C test/legacy clean
$(Q) $(MAKE) -C test/zdtm clean
.PHONY: clean
tags: