diff options
author | Chris Johns <chrisj@rtems.org> | 2017-11-03 18:20:31 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2017-11-03 18:20:31 +1100 |
commit | 42e39d264431fac6c39f3eb2766f091835ed810f (patch) | |
tree | d2af2eb42674ebf9868aed3d51b4993271d768f1 | |
parent | tester: Add the rtems-run command. (diff) | |
download | rtems-tools-42e39d264431fac6c39f3eb2766f091835ed810f.tar.bz2 |
tester: Fix the output so the report end analysis works.
-rw-r--r-- | tester/rt/config.py | 4 | ||||
-rw-r--r-- | 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: |