[PATCH v3 0/1] Add yaml format to the supported report formats

clrrm at isep.ipp.pt clrrm at isep.ipp.pt
Tue Dec 8 15:40:54 UTC 2020


From: Cláudio Maia <clrrm at isep.ipp.pt>

Two output formats were supported by RTEMS Tester: json and junit.
This patch adds yaml to the list of supported formats. 

The information being stored in the output file is the same as the one being
stored for the other formats, with the addition of adding a few more execution
details, such as the output of each test and the "debugger" output.

The feature can be used in the same manner as the other report formats, by 
using "--report-format=yaml --report-path=name-of-report".

The patch was tested using leon3 bsp and SIS, either for Python 2.7 and
Python 3.6.9.

v3 adds code to check_report_formats() for handling the ImportError exception
when yaml module is not found by Python runtime environment.

Cláudio Maia (1):
  tester: Add yaml format to the supported report formats

 tester/rt/test.py | 116 +++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 114 insertions(+), 2 deletions(-)

-- 
2.17.1



More information about the devel mailing list