run_wml_tests: Fix attempting to run tests expected to timeout when timeout is disabled
This commit is contained in:
parent
c1c5b5dd7d
commit
b0d320d2c1
1 changed files with 3 additions and 0 deletions
|
@ -134,6 +134,9 @@ class WesnothRunner:
|
|||
args.append("-u")
|
||||
args.append(test.name)
|
||||
if self.timeout == 0:
|
||||
if test.status == UnitTestResult.TIMEOUT:
|
||||
print('Skipping test', test_list[0].name, 'because timeout is disabled')
|
||||
return
|
||||
timeout = None
|
||||
else:
|
||||
if len(test_list) == 1:
|
||||
|
|
Loading…
Add table
Reference in a new issue