diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c459bee..9dbd36c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2019-08-15 Sandra Loosemore <sandra@codesourcery.com> + * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or + Windows host. + +2019-08-15 Sandra Loosemore <sandra@codesourcery.com> + * gdb.base/batch-preserve-term-settings.exp (test_terminal_settings_preserved_after_sigterm): Skip on Windows. diff --git a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp index 246b4af..f8d5d16 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp @@ -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 |