aboutsummaryrefslogtreecommitdiff
path: root/mesontest.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-12-03 20:58:29 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-03 20:58:29 +0200
commit8be0df144376673801c2c374b58f45f6d916abe8 (patch)
treee557775d50c3fdfb7f176e3b0fd365ebf2959435 /mesontest.py
parent57b7a98e029e1fe6db6bc9b583f4206fe56061ee (diff)
downloadmeson-8be0df144376673801c2c374b58f45f6d916abe8.zip
meson-8be0df144376673801c2c374b58f45f6d916abe8.tar.gz
meson-8be0df144376673801c2c374b58f45f6d916abe8.tar.bz2
Typo fix.
Diffstat (limited to 'mesontest.py')
-rwxr-xr-xmesontest.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesontest.py b/mesontest.py
index 849e32d..5ee724f 100755
--- a/mesontest.py
+++ b/mesontest.py
@@ -237,7 +237,7 @@ class TestHarness:
result = TestRun(res, returncode, test.should_fail, duration, stdo, stde, cmd, test.env)
if failling:
- self.failled_tests.append(result)
+ self.failed_tests.append(result)
return result
@@ -347,16 +347,16 @@ class TestHarness:
def drain_futures(self, futures, logfile, jsonlogfile):
for i in futures:
(result, numlen, tests, name, i, logfile, jsonlogfile) = i
- if self.options.repeat > 1 and self.failled_tests:
+ if self.options.repeat > 1 and self.failed_tests:
result.cancel()
elif not self.options.verbose:
self.print_stats(numlen, tests, name, result.result(), i, logfile, jsonlogfile)
else:
result.result()
- if self.options.repeat > 1 and self.failled_tests:
+ if self.options.repeat > 1 and self.failed_tests:
if not self.options.verbose:
- for res in self.failled_tests:
+ for res in self.failed_tests:
print('Test failed:\n\n-- stdout --\n')
print(res.stdo)
print('\n-- stderr --\n')