Re: [PATCH] ld: Skip p33265-2 and pr33265-2 tests on Windows
Jan Dubiec <[email protected]> Sun, 26 Jul 2026 17:46:55 +0200
| Newsgroups | gmane.comp.gnu.binutils |
|---|---|
| Message-ID | <[email protected]> |
On 26.07.2026 15:01, Andreas Schwab wrote:
> On Jul 26 2026, Andreas Schwab wrote:
>
>> On Jul 26 2026, Jan Dubiec wrote:
>>
>>> In the case of text enclosed in square brackets, the match_target
>>> procedure in testsuite/lib/binutils-common.exp should evaluate the entire
>>> text/expression and return its result (IMO):
>>
>> match_target receives the argument from this loop that iterates over the
>> option value as a list:
>>
>> foreach targ $opts(xfail) {
>>
>> If $opts(xfail) equals {foo bar} then there are two elements, if it is
>> {[foo bar]} or {{[foo bar]}} there is only one.
>
> Of course, in the case {[foo bar]} there are also _two_ elements (the
> square bracket is not special here).
>
Thanks for the explanation. After more than 25 years of occasional
exposure to Tcl, I guess it's finally time to read a tutorial on it. :-)
/J.D.