Skip to content

Commit

Permalink
run_wml_tests: Fix attempting to run tests expected to timeout when t…
Browse files Browse the repository at this point in the history
…imeout is disabled
  • Loading branch information
CelticMinstrel committed Mar 3, 2021
1 parent c1c533d commit 3ac5d43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run_wml_tests
Expand Up @@ -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:
Expand Down

0 comments on commit 3ac5d43

Please sign in to comment.