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

Jan Beulich jbeulich@sourceware.org
Fri Jul 31 09:00:35 GMT 2026


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e3b311f634aee8c36e788c154e42b40e836fa19b

commit e3b311f634aee8c36e788c154e42b40e836fa19b
Author: Jan Dubiec <jdx@o2.pl>
Date:   Fri Jul 31 10:58:03 2026 +0200

    ld: Skip pr33265-2 and pr33265-3 tests on Windows hosts
    
    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>

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 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*]


More information about the Binutils-cvs mailing list