mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
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.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user