diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-12 07:27:51 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-26 07:29:53 +0100 |
commit | 0d66fd5264b88968b276321115a6794523d37bce (patch) | |
tree | 084939fe581bbb4e1efc23bbd134b3968ac0257d /tester | |
parent | Fix typo in error message (diff) | |
download | rtems-tools-0d66fd5264b88968b276321115a6794523d37bce.tar.bz2 |
tester: Use prefix for rtems_tools by default
Commit 72c684eff2cd932b4948e21902680a93473340c3 removed the default
value of rtems_tools. If the --rtems--tools option was omitted the
rtems-test command printed lots of
error: run.cfg:61: macro '%{rtems_tools}' not found
error messages.
Diffstat (limited to 'tester')
-rw-r--r-- | tester/rt/test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tester/rt/test.py b/tester/rt/test.py index 6b45b78..16ac352 100644 --- a/tester/rt/test.py +++ b/tester/rt/test.py @@ -423,6 +423,8 @@ def run(args, command_path = 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') |