Re: How to pass a pathlist in RUNTESTFLAGS?

2010-07-13 Thread Manuel López-Ibáñez
On 13 July 2010 14:47, IainS  wrote:
>
> On 9 Jul 2010, at 17:28, Manuel López-Ibáñez wrote:
>
>>> RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/path/to/somewhere
>>> --target_board=unix/-foo/-bar"
>>>
>>
>> Please, once you find out, add this info to
>> http://gcc.gnu.org/wiki/Testing_GCC
>
> done (and amended the sim. section to refer to the second simulator page),
> would you like to give it a "once over" in case I've missed a stylistic
> requirement?

Many thanks! There are no stylistic requirements, apart from make it
pretty and understandable. You do not need the full URL for wiki
links, just use [[WikiPage]]. Fixed thusly.

Cheers,

Manuel.


Re: How to pass a pathlist in RUNTESTFLAGS?

2010-07-13 Thread IainS


On 9 Jul 2010, at 17:28, Manuel López-Ibáñez wrote:


RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/path/to/somewhere
--target_board=unix/-foo/-bar"



Please, once you find out, add this info to http://gcc.gnu.org/wiki/Testing_GCC


done (and amended the sim. section to refer to the second simulator  
page),
would you like to give it a "once over" in case I've missed a  
stylistic requirement?

thanks
Iain



Re: How to pass a pathlist in RUNTESTFLAGS?

2010-07-09 Thread IainS


On 9 Jul 2010, at 17:28, Manuel López-Ibáñez wrote:


On 9 July 2010 16:55, Doug Semler  wrote:
On Fri, Jul 9, 2010 at 9:12 AM, IainS > wrote:

Hi,

I want to do this:

 RUNTESTFLAGS="--target_board=unix/-foo/-bar/--sysroot=/path/to/ 
somewhere "


I've tried escaping the path with \ ' inverting the " and ' ..   
all to no

avail ..

 what gets passed is -foo -bar --sysroot= -mpath -mto -msomewhere ..

google hasn't helped..

anyone know what incantation I've missed?
cheers,
Iain



IIRC i needed something like (can't remember offhand if this is
exactly it, but it's something like this...)

RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/path/to/somewhere
--target_board=unix/-foo/-bar"



Please, once you find out, add this info to http://gcc.gnu.org/wiki/Testing_GCC


I really must sign up ... ;-)

FWIW:

RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/path/to/somewhere
--target_board=unix/-foo/-bar"

does work  but maybe:

RUNTESTFLAGS="CFLAGS_FOR_TARGET='$CFLAGS_FOR_TARGET   --sysroot=/path/ 
to/somewhere'  --target_board=unix/-foo/-bar"


is safer? -- CFLAGS_FOR_TARGET could already be set, I guess.

both work in the context I needed.

thanks,
Iain




Re: How to pass a pathlist in RUNTESTFLAGS?

2010-07-09 Thread Manuel López-Ibáñez
On 9 July 2010 16:55, Doug Semler  wrote:
> On Fri, Jul 9, 2010 at 9:12 AM, IainS  
> wrote:
>> Hi,
>>
>> I want to do this:
>>
>>  RUNTESTFLAGS="--target_board=unix/-foo/-bar/--sysroot=/path/to/somewhere "
>>
>> I've tried escaping the path with \ ' inverting the " and ' ..  all to no
>> avail ..
>>
>>  what gets passed is -foo -bar --sysroot= -mpath -mto -msomewhere ..
>>
>> google hasn't helped..
>>
>> anyone know what incantation I've missed?
>> cheers,
>> Iain
>>
>
> IIRC i needed something like (can't remember offhand if this is
> exactly it, but it's something like this...)
>
> RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/path/to/somewhere
> --target_board=unix/-foo/-bar"
>

Please, once you find out, add this info to http://gcc.gnu.org/wiki/Testing_GCC

Cheers,

Manuel.


Re: How to pass a pathlist in RUNTESTFLAGS?

2010-07-09 Thread Doug Semler
On Fri, Jul 9, 2010 at 9:12 AM, IainS  wrote:
> Hi,
>
> I want to do this:
>
>  RUNTESTFLAGS="--target_board=unix/-foo/-bar/--sysroot=/path/to/somewhere "
>
> I've tried escaping the path with \ ' inverting the " and ' ..  all to no
> avail ..
>
>  what gets passed is -foo -bar --sysroot= -mpath -mto -msomewhere ..
>
> google hasn't helped..
>
> anyone know what incantation I've missed?
> cheers,
> Iain
>

IIRC i needed something like (can't remember offhand if this is
exactly it, but it's something like this...)

RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/path/to/somewhere
--target_board=unix/-foo/-bar"


How to pass a pathlist in RUNTESTFLAGS?

2010-07-09 Thread IainS

Hi,

I want to do this:
	RUNTESTFLAGS="--target_board=unix/-foo/-bar/--sysroot=/path/to/ 
somewhere "


I've tried escaping the path with \ ' inverting the " and ' ..  all to  
no avail ..


 what gets passed is -foo -bar --sysroot= -mpath -mto -msomewhere ..

google hasn't helped..

anyone know what incantation I've missed?
cheers,
Iain