[PATCH] tester: Report fatal-error test states as failures

Kinsey Moore kinsey.moore at oarcorp.com
Wed Nov 25 14:55:21 UTC 2020


Tests resulting in the fatal-error state are counted as failures, but
are not currently reported in the text summary. This has already been
fixed for JSON output.
---
 tester/rt/report.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tester/rt/report.py b/tester/rt/report.py
index be8df74..0e19edc 100644
--- a/tester/rt/report.py
+++ b/tester/rt/report.py
@@ -321,6 +321,7 @@ class report(object):
         if self.failed:
             l += ['Failures:']
             l += show_state(self.results, 'failed', self.name_max_len)
+            l += show_state(self.results, 'fatal-error', self.name_max_len)
         if self.user_input:
             l += ['User Input:']
             l += show_state(self.results, 'user-input', self.name_max_len)
-- 
2.20.1



More information about the devel mailing list