]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Don't run pr24576 tests on windows host
authorAlan Modra <amodra@gmail.com>
Mon, 23 Feb 2026 10:39:34 +0000 (21:09 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 23 Feb 2026 11:21:03 +0000 (21:51 +1030)
ld/testsuite/ld-scripts/script.exp

index ed4cbf7660ec06848b6ed18cda62d791deffa3f1..ff65e397b6bd9ac701b426c549465467decf0c3c 100644 (file)
@@ -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)}}