From: Sandra Loosemore Date: Mon, 14 Dec 2015 23:14:03 +0000 (-0800) Subject: Skip gdb.base/gdbhistsize-history.exp on remote hosts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e763b8690ff486d9783f43ce0f4bbb7c9e81b6c;p=binutils-gdb.git Skip gdb.base/gdbhistsize-history.exp on remote hosts. 2015-12-14 Sandra Loosemore gdb/testsuite/ * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9228e09f595..7f3c05c1c4c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-12-14 Sandra Loosemore + + * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing. + 2015-12-14 Sandra Loosemore * gdb.base/completion.exp: Skip tests that interrupt GDB with diff --git a/gdb/testsuite/gdb.base/gdbhistsize-history.exp b/gdb/testsuite/gdb.base/gdbhistsize-history.exp index 75d98e162f0..a5d0e432631 100644 --- a/gdb/testsuite/gdb.base/gdbhistsize-history.exp +++ b/gdb/testsuite/gdb.base/gdbhistsize-history.exp @@ -18,6 +18,14 @@ # Test the setting of "history size" via the GDBHISTSIZE environment variable +# We cannot expect remote hosts to see environment variables set on the +# local machine. + +if { [is_remote host] } { + unsupported "can't set environment variables on remote host" + return -1 +} + # Check that the history size is properly set to SIZE when the environment # variable ENV_VAR is set to GDBHISTSIZE.