[CRIU] [PATCH] zdtm.py: print separators between tests

Andrey Vagin avagin at openvz.org
Tue Oct 13 01:09:27 PDT 2015


From: Andrew Vagin <avagin at openvz.org>

Signed-off-by: Andrew Vagin <avagin at openvz.org>
---
 test/zdtm.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index a8674f1..904711f 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -414,8 +414,9 @@ def do_run_test(tname, tdesc, flavs, opts):
 		print "Unknown test class %s" % tcname
 		return
 
-	print "Run %s in %s" % (tname, flavs)
 	for f in flavs:
+		print
+		print_sep("Run %s in %s" % (tname, f))
 		flav = flavors[f](opts)
 		t = tclass(tname, tdesc, flav)
 
@@ -434,7 +435,7 @@ def do_run_test(tname, tdesc, flavs, opts):
 			# aborts the main script execution on the 1st error met
 			sys.exit(1)
 		else:
-			print "Test %s PASS" % tname
+			print_sep("Test %s PASS" % tname)
 
 class launcher:
 	def __init__(self, opts):
-- 
2.4.3



More information about the CRIU mailing list