Disable dw2-dir-file-name.exp on remote and/or Windows host.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-dir-file-name.exp
index 246b4af213293ab7e87a634e9e6be4303eb04992..f8d5d161f80341f56bd74dc1ba6e567ff006d71a 100644 (file)
@@ -19,6 +19,13 @@ if {![dwarf2_support]} {
     return 0  
 }
 
+# This test has hard-wired assumptions that host and build filenames are
+# the same, and assumes POSIX pathname syntax.
+if { [is_remote host] || [ishost *-*-mingw*] } {
+    unsupported "dw2-dir-file-name.exp can only run on local host"
+    return 0
+}
+
 # Find length of addresses in bytes.
 if {[is_64_target]} {
     set addr_len 8
This page took 0.023325 seconds and 4 git commands to generate.