From 0d66fd5264b88968b276321115a6794523d37bce Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 12 Feb 2020 07:27:51 +0100 Subject: 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. --- tester/rt/test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tester') 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') -- cgit v1.2.3