[rtems-tools commit] tester: Fix the output so the report end analysis works.
Chris Johns
chrisj at rtems.org
Fri Nov 3 07:20:58 UTC 2017
Module: rtems-tools
Branch: master
Commit: 42e39d264431fac6c39f3eb2766f091835ed810f
Changeset: http://git.rtems.org/rtems-tools/commit/?id=42e39d264431fac6c39f3eb2766f091835ed810f
Author: Chris Johns <chrisj at rtems.org>
Date: Fri Nov 3 18:20:31 2017 +1100
tester: Fix the output so the report end analysis works.
---
tester/rt/config.py | 4 ++--
tester/rt/test.py | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tester/rt/config.py b/tester/rt/config.py
index 8ed3d21..eb11740 100644
--- a/tester/rt/config.py
+++ b/tester/rt/config.py
@@ -61,7 +61,7 @@ class file(config.file):
'%console']
def __init__(self, index, total, report, name, opts,
- console_prefix = '] ', _directives = _directives):
+ console_prefix = ']', _directives = _directives):
super(file, self).__init__(name, opts, directives = _directives)
self.lock = threading.Lock()
self.realtime_trace = self.exe_trace('output')
@@ -336,7 +336,7 @@ class file(config.file):
def _realtime_trace(self, text):
for l in text:
- print(''.join(l))
+ print(l)
def run(self):
self.target_start_regx = self._target_regex('target_start_regex')
diff --git a/tester/rt/test.py b/tester/rt/test.py
index 70ecf6b..c8b8834 100644
--- a/tester/rt/test.py
+++ b/tester/rt/test.py
@@ -283,7 +283,7 @@ def run(command_path = None):
bsp = opts.find_arg('--rtems-bsp')
if bsp is None or len(bsp) != 2:
raise error.general('RTEMS BSP not provided or an invalid option')
- bsp = coinfig.load(bsp[1], opts)
+ bsp = config.load(bsp[1], opts)
bsp_config = opts.defaults.expand(opts.defaults['tester'])
report_mode = opts.find_arg('--report-mode')
if report_mode:
More information about the vc
mailing list