[binutils-gdb] Don't run pr24576 tests on windows host

Alan Modra amodra@sourceware.org
Mon Feb 23 11:24:23 GMT 2026


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

commit 6aaa64b8ef4bf06ad786403dbc0c4ffaee2f6d80
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Feb 23 21:09:34 2026 +1030

    Don't run pr24576 tests on windows host

Diff:
---
 ld/testsuite/ld-scripts/script.exp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/ld/testsuite/ld-scripts/script.exp b/ld/testsuite/ld-scripts/script.exp
index ed4cbf7660e..ff65e397b6b 100644
--- a/ld/testsuite/ld-scripts/script.exp
+++ b/ld/testsuite/ld-scripts/script.exp
@@ -233,8 +233,12 @@ run_dump_test "pr20302"
 run_dump_test "output-section-types"
 run_dump_test "ld-version"
 run_dump_test "ld-version-2"
-run_dump_test "pr24576-1"
-run_dump_test "pr24576-2"
+# Windows hosts are likely to have filesystems where st_ino has no meaning,
+# breaking the test for accidental duplicate scripts.
+if { ![ishost *-mingw*] } {
+    run_dump_test "pr24576-1"
+    run_dump_test "pr24576-2"
+}
 run_dump_test "linker-script-not-found"
 
 run_dump_test "segment-start" {{name (default)}}


More information about the Binutils-cvs mailing list