2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

zdtm: introduce 'noremotelazy' flag

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@linux.vnet.ibm.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Mike Rapoport
2017-05-31 12:51:43 +03:00
committed by Andrei Vagin
parent a9ea60f8b3
commit eb261b579d

View File

@@ -1709,6 +1709,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']: