[binutils-gdb] ld: Skip pr33265-2 and pr33265-3 tests on Windows hosts

Jan Beulich via Binutils-cvs <[email protected]> Fri, 31 Jul 2026 09:00:35 +0000 (GMT)
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3De3b311f634ae=
e8c36e788c154e42b40e836fa19b

commit e3b311f634aee8c36e788c154e42b40e836fa19b
Author: Jan Dubiec <[email protected]>
Date:   Fri Jul 31 10:58:03 2026 +0200

    ld: Skip pr33265-2 and pr33265-3 tests on Windows hosts
   =20
    These test cases are expected to fail on Windows because by default max=
imum
    path length is only 260 characters.
   =20
    Signed-off-by: Jan Dubiec <[email protected]>

Diff:
---
 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 limitatio=
n.
+#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 limitatio=
n.
+#xfail: [ishost\ *-mingw*]