[rtems-tools commit] tester: Minor fix to prefix handling.
Chris Johns
chrisj at rtems.org
Wed Sep 4 23:51:09 UTC 2019
Module: rtems-tools
Branch: master
Commit: 72c684eff2cd932b4948e21902680a93473340c3
Changeset: http://git.rtems.org/rtems-tools/commit/?id=72c684eff2cd932b4948e21902680a93473340c3
Author: Chris Johns <chrisj at rtems.org>
Date: Tue Sep 3 17:00:42 2019 +1000
tester: Minor fix to prefix handling.
---
tester/rt/test.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tester/rt/test.py b/tester/rt/test.py
index d5c7c66..ebdd7ed 100644
--- a/tester/rt/test.py
+++ b/tester/rt/test.py
@@ -367,12 +367,10 @@ def run(args, command_path = None):
opts.defaults['exe_trace'] = debug_trace
job_trace = 'jobs' in debug_trace.split(',')
rtems_tools = opts.find_arg('--rtems-tools')
- if rtems_tools:
+ if rtems_tools is not None:
if len(rtems_tools) != 2:
raise error.general('invalid RTEMS tools option')
rtems_tools = rtems_tools[1]
- else:
- rtems_tools = '%{_prefix}'
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')
More information about the vc
mailing list