[PATCH] sysdeps/x86: don't spuriously mark tests as xfail
Andreas Schwab
schwab@suse.de
Thu Jul 2 11:27:36 GMT 2026
Properly set xfail marker, $(with-lld) is always non-empty.
---
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))
--
2.55.0
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list