[CRIU] [RFC PATCH 18/21] zdtm: use the multi-test launcher by default

Ivan Shapovalov intelfx at intelfx.name
Fri Feb 19 06:50:41 PST 2016


Signed-off-by: Ivan Shapovalov <intelfx at intelfx.name>
---
 test/zdtm.py                 | 2 +-
 test/zdtm/live/Makefile.live | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index b1a58aa..3671761 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -347,7 +347,7 @@ class zdtm_test:
 		self.__pid = 0
 		self.__flavor = flavor
 		self.__freezer = freezer
-		self._bins = [ name ]
+		self._bins = [ name, os.path.normpath(os.path.dirname(name) + "/../../launcher/launcher") ]
 		self._env = {}
 		self._deps = desc.get('deps', [])
 		self.auto_reap = True
diff --git a/test/zdtm/live/Makefile.live b/test/zdtm/live/Makefile.live
index 1dff0ec..29cfb78 100644
--- a/test/zdtm/live/Makefile.live
+++ b/test/zdtm/live/Makefile.live
@@ -39,7 +39,7 @@ $(TST_DIR_FILE:%=%.args):
 	@echo --dirname=$(basename $@).dir.test --filename=$(basename $@).test
 
 %.pid: %
-	$(<D)/$(<F) $(shell $(MAKE) -s $<.args-global) $(shell $(MAKE) -s $<.args)
+	../../launcher/launcher $(shell $(MAKE) -s $<.args-global) --lib $(<D)/$(<F) $(shell $(MAKE) -s $<.args)
 
 %.out: %.pid %
 	-kill -TERM `cat $<`
-- 
2.7.1



More information about the CRIU mailing list