run_wml_tests: Skip tests that expect strict validation failure if log-strict is disabled
This commit is contained in:
parent
099414ed1e
commit
a755788392
1 changed files with 4 additions and 0 deletions
|
@ -166,6 +166,10 @@ class WesnothRunner:
|
|||
return
|
||||
timeout = None
|
||||
else:
|
||||
if test.status == UnitTestResult.FAIL_BROKE_STRICT and not options.strict_mode:
|
||||
test_summary.skip_test()
|
||||
print('Skipping test', test_list[0].name, 'because strict mode is disabled')
|
||||
return
|
||||
if len(test_list) == 1:
|
||||
timeout = self.timeout
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue