mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 14:55:39 +00:00
zdtm: fail if test with the crfail tag passes
Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
@@ -1735,6 +1735,8 @@ def do_run_test(tname, tdesc, flavs, opts):
|
|||||||
t.stop()
|
t.stop()
|
||||||
cr_api.fini()
|
cr_api.fini()
|
||||||
try_run_hook(t, ["--clean"])
|
try_run_hook(t, ["--clean"])
|
||||||
|
if t.blocking():
|
||||||
|
raise test_fail_exc("unexpected success")
|
||||||
except test_fail_exc as e:
|
except test_fail_exc as e:
|
||||||
print_sep("Test %s FAIL at %s" % (tname, e.step), '#')
|
print_sep("Test %s FAIL at %s" % (tname, e.step), '#')
|
||||||
t.print_output()
|
t.print_output()
|
||||||
|
@@ -1 +1 @@
|
|||||||
{'flags': 'crfail', 'opts' : '--link-remap'}
|
{'opts' : '--link-remap'}
|
||||||
|
Reference in New Issue
Block a user