diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2015-12-14 15:17:23 -0800 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2015-12-14 15:17:23 -0800 |
commit | 5d978e177217d8e9da8648498f0592b5cd885e69 (patch) | |
tree | 0d31f5dc763ec354d8925d3e6fad767bcb375e30 /gdb/testsuite | |
parent | 7e763b8690ff486d9783f43ce0f4bbb7c9e81b6c (diff) | |
download | gdb-5d978e177217d8e9da8648498f0592b5cd885e69.zip gdb-5d978e177217d8e9da8648498f0592b5cd885e69.tar.gz gdb-5d978e177217d8e9da8648498f0592b5cd885e69.tar.bz2 |
Skip gdb.base/gdbinit-history.exp on remote hosts.
2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
gdb/testsuite/
* gdb.base/gdbinit-history.exp: Skip for remote-host testing.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/gdbinit-history.exp | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7f3c05c..b46ccbd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2015-12-14 Sandra Loosemore <sandra@codesourcery.com> + * gdb.base/gdbinit-history.exp: Skip for remote-host testing. + +2015-12-14 Sandra Loosemore <sandra@codesourcery.com> + * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing. 2015-12-14 Sandra Loosemore <sandra@codesourcery.com> diff --git a/gdb/testsuite/gdb.base/gdbinit-history.exp b/gdb/testsuite/gdb.base/gdbinit-history.exp index 85ef12f..3f726d1 100644 --- a/gdb/testsuite/gdb.base/gdbinit-history.exp +++ b/gdb/testsuite/gdb.base/gdbinit-history.exp @@ -17,6 +17,14 @@ # Test the setting of "history size" via $HOME/.gdbinit +# This test depends on being able to set $HOME and $GDBHISTSIZE. +# 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 reading the .gdbinit # file located in HOME with the environment variable GDBHISTSIZE optionally |