[PATCH v2] ld: Skip pr33265-2 and pr33265-3 tests on Windows.
Jan Dubiec
jdx@o2.pl
Sun Jul 26 11:09:32 GMT 2026
These test cases are expected to fail on Windows because by default maximum
path length is only 260 characters.
Signed-off-by: Jan Dubiec <jdx@o2.pl>
---
ld/testsuite/ld-scripts/pr33265-2.d | 3 +++
ld/testsuite/ld-scripts/pr33265-3.d | 3 +++
2 files changed, 6 insertions(+)
diff --git a/ld/testsuite/ld-scripts/pr33265-2.d b/ld/testsuite/ld-scripts/pr33265-2.d
index 6e9da740b8b..32353c7e405 100644
--- a/ld/testsuite/ld-scripts/pr33265-2.d
+++ b/ld/testsuite/ld-scripts/pr33265-2.d
@@ -1,3 +1,6 @@
#source: start.s
#ld: -r --whole-archive -lpr33265-2
#error: .*group nested too deeply.*
+#
+# XFAIL the test case on MinGW/Windows hosts due to the MAX_PATH limitation.
+#xfail: [ishost\ *-mingw*]
diff --git a/ld/testsuite/ld-scripts/pr33265-3.d b/ld/testsuite/ld-scripts/pr33265-3.d
index a2f42fa0150..d8180f2c196 100644
--- a/ld/testsuite/ld-scripts/pr33265-3.d
+++ b/ld/testsuite/ld-scripts/pr33265-3.d
@@ -1,3 +1,6 @@
#source: start.s
#ld: -r --whole-archive -lpr33265-3a
#error: .*group nested too deeply.*
+#
+# XFAIL the test case on MinGW/Windows hosts due to the MAX_PATH limitation.
+#xfail: [ishost\ *-mingw*]
--
2.54.0
More information about the Binutils
mailing list