aboutsummaryrefslogtreecommitdiff
path: root/mesontest.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesontest.py')
-rwxr-xr-xmesontest.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/mesontest.py b/mesontest.py
index bce4100..1a0c9b1 100755
--- a/mesontest.py
+++ b/mesontest.py
@@ -262,7 +262,8 @@ class TestHarness:
if timed_out:
res = 'TIMEOUT'
self.timeout_count += 1
- if p.returncode == GNU_SKIP_RETURNCODE:
+ self.fail_count += 1
+ elif p.returncode == GNU_SKIP_RETURNCODE:
res = 'SKIP'
self.skip_count += 1
elif test.should_fail == bool(p.returncode):
@@ -415,7 +416,7 @@ TIMEOUT: %4d
jsonlogfile = open(jsonlogfilename, 'w')
logfile = open(logfilename, 'w')
- logfile.write('Log of Meson test suite run on %s.\n\n'
+ logfile.write('Log of Meson test suite run on %s\n\n'
% datetime.datetime.now().isoformat())
return logfile, logfilename, jsonlogfile, jsonlogfilename
@@ -483,7 +484,7 @@ TIMEOUT: %4d
self.print_collected_logs()
if logfilename:
- print('Full log written to %s.' % logfilename)
+ print('Full log written to %s' % logfilename)
finally:
if jsonlogfile:
jsonlogfile.close()