[PATCH] dg-extract-results.sh tolerate spaces in variant names.

Marcus Shawcroft marcus.shawcroft@arm.com
Tue Jun 11 13:24:00 GMT 2013


On 11/06/13 14:12, Jakub Jelinek wrote:
> On Tue, Jun 11, 2013 at 02:07:50PM +0100, Marcus Shawcroft wrote:
>> On 11/06/13 13:55, Jakub Jelinek wrote:
>>> On Tue, Jun 11, 2013 at 01:12:50PM +0100, Marcus Shawcroft wrote:
>>>> Hi,
>>>>
>>>> The dg-extract-result.sh script is not tolerant of spaces in test variants.
>>>>
>>>> Consider the following site.exp fragment:
>>>>
>>>> ====
>>>> set target_list [
>>>>    list "arm-eabi-aem{-marm -march=armv7-a -mfpu=vfpv3-d16
>>>> -mfloat-abi=softfp}" \
>>>>         "arm-eabi-aem{-marm -march=armv8-a -mfpu=crypto-neon-fp-armv8
>>>> -mfloat-abi=hard}" \
>>>>    ]
>>>
>>> Why don't you separate the variants with commas instead of spaces?
>>>
>>> 	Jakub
>>>
>>
>>
>> That would test each of the listed options in isolation, one test
>> variant for each comma separated option, eight variants in total.
>> The example above tests just two variants, each with the set of
>> options as listed.
>
> For that I think the syntax is slashes separating the options.
> I.e.
> RUNTESTFLAGS='--target_board=arm-eabi-aem\{-marm/-march=armv7-a/-mfpu=vfpv3-d16/-mfloat-abi=softfp,-marm/-march=armv8-a/-mfpu=crypto-neon-fp-armv8/-mfloat-abi=hard\}'
>
> 	Jakub
>

Aha, that works fine.  Thank you!

/Marcus




More information about the Gcc-patches mailing list