Commit a88cd36e authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

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

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 71fca5d2
...@@ -153,8 +153,16 @@ $(DEPS_GEN): $(HEAD-BLOB-GEN) $(RHEAD-BLOB-GEN) ...@@ -153,8 +153,16 @@ $(DEPS_GEN): $(HEAD-BLOB-GEN) $(RHEAD-BLOB-GEN)
%.d: %.c %.d: %.c
$(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@ $(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@
test: test-legacy:
$(Q) $(MAKE) -C test all $(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 .PHONY: test
rebuild: rebuild:
...@@ -176,7 +184,8 @@ clean: ...@@ -176,7 +184,8 @@ clean:
$(Q) $(RM) -f ./$(PROGRAM) $(Q) $(RM) -f ./$(PROGRAM)
$(Q) $(RM) -f ./$(HEAD-BLOB-GEN) $(Q) $(RM) -f ./$(HEAD-BLOB-GEN)
$(Q) $(RM) -f ./$(RHEAD-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 .PHONY: clean
tags: tags:
......
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