[CRIU] [RFC PATCHv2 05/32] zdtm: zdtm.py: allow deliberately generating test groups of size 1

Ivan Shapovalov intelfx at intelfx.name
Sat Mar 12 00:42:04 PST 2016


Signed-off-by: Ivan Shapovalov <intelfx at intelfx.name>
---
 test/zdtm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.py b/test/zdtm.py
index c3f900a..d3e3923 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1368,7 +1368,7 @@ def group_tests(opts):
 	suf = opts['name'] or 'group'
 
 	for g in groups:
-		if g.size() == 1: # Not much point in group test for this
+		if maxs > 1 and g.size() == 1: # Not much point in group test for this
 			continue
 
 		fn = os.path.join("groups", "%s.%d" % (suf, nr))
-- 
2.7.2



More information about the CRIU mailing list