Changeset 0eb8400 in rtems-tools for tester/rt/report.py


Ignore:
Timestamp:
Oct 11, 2017, 11:48:46 AM (2 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
4b76b8e
Parents:
5df7c3c
git-author:
Chris Johns <chrisj@…> (10/11/17 11:48:46)
git-committer:
Chris Johns <chrisj@…> (10/11/17 11:51:02)
Message:

testing: Print the output after the result. Easier to find and review failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/rt/report.py

    r5df7c3c r0eb8400  
    194194            result = self.results[name]['result']
    195195            time = self.results[name]['end'] - self.results[name]['start']
     196            failed = result in ['failed', 'timeout', 'invalid']
     197            result = 'Result: %-10s Time: %s %s' % (result, str(time), exe)
    196198            if mode != 'none':
    197199                header = self.results[name]['header']
    198             if mode == 'all' or result in ['failed', 'timeout', 'invalid']:
     200            if mode == 'all' or failed:
    199201                output = self.results[name]['output']
    200202            else:
     
    204206                log.output(header)
    205207            if output:
     208                log.output(result)
    206209                log.output(output)
    207                 log.output('Result: %-10s Time: %s %s' % (result, str(time), exe))
    208210
    209211    def summary(self):
Note: See TracChangeset for help on using the changeset viewer.