summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2019-09-23 13:33:34 +0000
committerChris Johns <chrisj@rtems.org>2019-09-24 08:32:52 +1000
commite9f48e9face6c4dea62712d73b35412c0fe10332 (patch)
tree0e713f7ac1d962daf11f6fb3f2fd5494957ddc33
parentrecord: Fix use of std::min (diff)
downloadrtems-tools-e9f48e9face6c4dea62712d73b35412c0fe10332.tar.bz2
Fix exception when no output format is specified
The JSON log generation patch introduced a bug when the report output generation was not configured due to attempting to iterate over 'None'.
-rw-r--r--tester/rt/test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tester/rt/test.py b/tester/rt/test.py
index ebdd7ed..3cd9b48 100644
--- a/tester/rt/test.py
+++ b/tester/rt/test.py
@@ -345,6 +345,8 @@ def run(args, command_path = None):
raise error.general('invalid RTEMS report formats option')
report_formats = report_formats[1].split(',')
check_report_formats(report_formats, report_location)
+ else:
+ report_formats = []
log.notice('RTEMS Testing - Tester, %s' % (version.string()))
if opts.find_arg('--list-bsps'):
bsps.list(opts)