From: Sandra Loosemore Date: Mon, 14 Dec 2015 23:17:23 +0000 (-0800) Subject: Skip gdb.base/gdbinit-history.exp on remote hosts. X-Git-Tag: gdb-7.11-release~523 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d978e177217d8e9da8648498f0592b5cd885e69;p=external%2Fbinutils.git Skip gdb.base/gdbinit-history.exp on remote hosts. 2015-12-14 Sandra Loosemore gdb/testsuite/ * gdb.base/gdbinit-history.exp: Skip for remote-host testing. --- 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 + * gdb.base/gdbinit-history.exp: Skip for remote-host testing. + +2015-12-14 Sandra Loosemore + * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing. 2015-12-14 Sandra Loosemore 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