Re: [PATCH] ld: Skip p33265-2 and pr33265-2 tests on Windows

Andreas Schwab <[email protected]> Sun, 26 Jul 2026 15:01:11 +0200
Newsgroups gmane.comp.gnu.binutils
Message-ID <[email protected]>
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).

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."