[glibc] sysdeps/x86: don't spuriously mark tests as xfail

Andreas Schwab via Glibc-cvs <[email protected]> Mon, 6 Jul 2026 07:36:22 +0000 (GMT)
Newsgroups gmane.comp.lib.glibc.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=db59f396469dfa6b44c212ea1b0ee6e7b4cbf065

commit db59f396469dfa6b44c212ea1b0ee6e7b4cbf065
Author: Andreas Schwab <[email protected]>
Date:   Thu Jul 2 13:14:19 2026 +0200

    sysdeps/x86: don't spuriously mark tests as xfail
    
    Properly set xfail marker, $(with-lld) is always non-empty.

Diff:
---
 sysdeps/x86/Makefile | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
index b16f4a3404..232e388d32 100644
--- a/sysdeps/x86/Makefile
+++ b/sysdeps/x86/Makefile
@@ -50,8 +50,10 @@ tests += \
 tests-static += \
   tst-ifunc-isa-1-static \
 # tests-static
-test-xfail-tst-ifunc-isa-1 = $(with-lld)
-test-xfail-tst-ifunc-isa-1-static = $(with-lld)
+ifneq (no, $(with-lld))
+test-xfail-tst-ifunc-isa-1 = yes
+test-xfail-tst-ifunc-isa-1-static = yes
+endif
 tests += \
   tst-ifunc-isa-2 \
   tst-ifunc-isa-2-static \
@@ -59,8 +61,10 @@ tests += \
 tests-static += \
   tst-ifunc-isa-2-static \
 # tests-static
-test-xfail-tst-ifunc-isa-2 = $(with-lld)
-test-xfail-tst-ifunc-isa-2-static = $(with-lld)
+ifneq (no, $(with-lld))
+test-xfail-tst-ifunc-isa-2 = yes
+test-xfail-tst-ifunc-isa-2-static = yes
+endif
 endif
 endif
 ifeq (yes,$(enable-x86-isa-level))