[CRIU] [PATCH 3/4] zdtm: introduce 'noremotelazy' flag

Mike Rapoport rppt at linux.vnet.ibm.com
Mon May 29 09:11:49 PDT 2017


This allows skipping tests that are not yet run with --remote-lazy-pages,
but can be run with --lazy-pages

Signed-off-by: Mike Rapoport <rppt at linux.vnet.ibm.com>
---
 test/zdtm.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/zdtm.py b/test/zdtm.py
index 886a866..c9854cf 100755
--- a/test/zdtm.py
+++ b/test/zdtm.py
@@ -1742,6 +1742,11 @@ def run_tests(opts):
 					l.skip(t, "lazy pages are not supported")
 					continue
 
+			if opts['remote_lazy_pages']:
+				if test_flag(tdesc, 'noremotelazy'):
+					l.skip(t, "remote lazy pages are not supported")
+					continue
+
 			test_flavs = tdesc.get('flavor', 'h ns uns').split()
 			opts_flavs = (opts['flavor'] or 'h,ns,uns').split(',')
 			if opts_flavs != ['best']:
-- 
2.7.4



More information about the CRIU mailing list