[CRIU] [crtools-bot for Kir Kolyshkin ] Makefile: test target should depend on crtools

Cyrill Gorcunov gorcunov at openvz.org
Fri Feb 17 01:44:02 EST 2012


The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit ac5c297474f6c4e0674ae155ac592f8c74757668
Author: Kir Kolyshkin <kir at openvz.org>
Date:   Fri Feb 17 02:27:49 2012 +0400

    Makefile: test target should depend on crtools
    
    Otherwise 'make test' fails on a clean tree because crtools is not built.
    
    Side effect: if you have code modifications that are not yet compiled,
    they will be compiled.
    
    Signed-off-by: Kir Kolyshkin <kir at openvz.org>
    Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index adfc7ea..d5ffeca 100644
--- a/Makefile
+++ b/Makefile
@@ -133,11 +133,11 @@ $(DEPS_GEN): $(HEAD-BLOB-GEN) $(RHEAD-BLOB-GEN)
 %.d: %.c
 	$(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@
 
-test-legacy:
+test-legacy: $(PROGRAM)
 	$(Q) $(MAKE) -C test/legacy all
 .PHONY: test-legacy
 
-zdtm:
+zdtm: $(PROGRAM)
 	$(Q) $(MAKE) -C test/zdtm all
 .PHONY: zdtm
 


More information about the CRIU mailing list