[PATCH] tester: Use prefix for rtems_tools by default

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Feb 25 08:33:59 UTC 2020


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

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list