[CRIU] [PATCH 2/2] test/Makefile: use the override directive

Andrew Vagin avagin at openvz.org
Thu Apr 30 09:17:46 PDT 2015


It looks better

Signed-off-by: Andrew Vagin <avagin at openvz.org>
---
 test/Makefile | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/test/Makefile b/test/Makefile
index e9b9562..844bf7c 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -30,13 +30,17 @@ zdtm: zdtm-tst-list .FORCE
 	$(MAKE) -f Makefile.zdtm zdtm_ns_user
 
 zdtm-pre-dump: zdtm-tst-list
-	ZDTM_ARGS="-P -p -i 3 -C" $(MAKE) -f Makefile.zdtm ns/static/pipe00
+	$(MAKE) -f Makefile.zdtm ns/static/pipe00
 
 zdtm-snapshot: zdtm-tst-list
-	ZDTM_ARGS="-s -i 3 -C" $(MAKE) -f Makefile.zdtm ns/static/pipe00
+	$(MAKE) -f Makefile.zdtm ns/static/pipe00
 
 zdtm-iter: zdtm-tst-list
-	ZDTM_ARGS="-i 3 -C" $(MAKE) -f Makefile.zdtm ns/static/pipe00
+	$(MAKE) -f Makefile.zdtm ns/static/pipe00
+
+zdtm-pre-dump: override ZDTM_ARGS=-P -p -i 3 -C
+zdtm-snapshot: override ZDTM_ARGS=-s -i 3 -C
+zdtm-iter: override ZDTM_ARGS=-i 3 -C
 
 .PHONY: zdtm
 
-- 
2.1.0



More information about the CRIU mailing list