[PATCH] ld: testsuite: xfail vers26b3 on Solaris/amd64

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Tue Aug 19 11:59:58 GMT 2025


Hi H.J.,

>> * However, when xfail'ing the tests when pic is set to yes for
>>   Solaris/amd64, too, , a serious error in (at least) vers.exp is
>>   revealed: those patches that just PASSed on Solaris/amd64 before
>>   (unlike Linux/x86_64) are still marked as XFAIL and never run.  The
>>   xfail proc just emits the "XFAIL: <testname>" message and does nothing
>>   more (i.e. the test is never run).  What should happen instead is
>>   alway run the test; if it fails mark the test XFAIL, if it PASSes
>>   unexpectedly, mark it XPASS instead.  The current behaviour/use is
>>   blatently wrong.
>
> We can change them to UNSUPPORTED.

not without an analysis which of them are really UNSUPPORTED (i.e. can
never PASS, thus no attempt is made to run them) and which are just
XFAIL (could be made to PASS with some fix in either binutils or the
testsuite, thus should be run and the outcome compared to what's
expected as described above, yielding either XFAIL or XPASS).

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Binutils mailing list