[rtems-tools commit] tester: Report fatal-error test states as failures

Joel Sherrill joel at rtems.org
Wed Nov 25 22:18:10 UTC 2020

Module:    rtems-tools
Branch:    master
Commit:    2bb7d3a1bb1f49ad65741c64a2a7a974b3e85eae
Changeset: http://git.rtems.org/rtems-tools/commit/?id=2bb7d3a1bb1f49ad65741c64a2a7a974b3e85eae

Author:    Kinsey Moore <kinsey.moore at oarcorp.com>
Date:      Tue Nov 24 14:50:39 2020 -0600

tester: Report fatal-error test states as failures

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)

More information about the vc mailing list