[PATCH] tester: Use prefix for rtems_tools by default

Chris Johns chrisj at rtems.org
Wed Feb 26 03:58:49 UTC 2020


On 25/2/20 7:33 pm, Sebastian Huber wrote:
> Hello Chris,
> 
> On 14/02/2020 07:14, Sebastian Huber wrote:
>> On 14/02/2020 03:54, Chris Johns wrote:
>>
>>> On 2020-02-12 17:27, Sebastian Huber wrote:
>>>> 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.
>>>
>>> I will need to think about this. I am wondering id removing the prefix code
>>> allowed the PATH to be used. 
>> I have rtems-test in the $PATH and calling it without --rtems-tools doesn't
>> work without this patch.
> 
> could you please have a look at this. Since the %{rtems_tools} macros needed it
> should be defined:
> 
> grep -r rtems_tools --include '*.cfg'
> tester/rtems/testing/gdb.cfg:%define gdb_cmd
> %{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-gdb
> 

Please push this change. I thought I had responded but something must have gone
wrong. I am sorry about that.

Chris


More information about the devel mailing list