aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2015-12-14 15:14:03 -0800
committerSandra Loosemore <sandra@codesourcery.com>2015-12-14 15:14:03 -0800
commit7e763b8690ff486d9783f43ce0f4bbb7c9e81b6c (patch)
treeb88aa8d07103582864ededafa3d6f32685a2df95 /gdb/testsuite/gdb.base
parent87a3a92c46c770e6aa2ca1209f46af16eae2c4e9 (diff)
downloadgdb-7e763b8690ff486d9783f43ce0f4bbb7c9e81b6c.zip
gdb-7e763b8690ff486d9783f43ce0f4bbb7c9e81b6c.tar.gz
gdb-7e763b8690ff486d9783f43ce0f4bbb7c9e81b6c.tar.bz2
Skip gdb.base/gdbhistsize-history.exp on remote hosts.
2015-12-14 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/gdbhistsize-history.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/gdbhistsize-history.exp b/gdb/testsuite/gdb.base/gdbhistsize-history.exp
index 75d98e1..a5d0e43 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.