Skip gdb.base/gdbhistsize-history.exp on remote hosts.
authorSandra Loosemore <sandra@codesourcery.com>
Mon, 14 Dec 2015 23:14:03 +0000 (15:14 -0800)
committerSandra Loosemore <sandra@codesourcery.com>
Mon, 14 Dec 2015 23:14:03 +0000 (15:14 -0800)
2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>

gdb/testsuite/
* gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/gdbhistsize-history.exp

index 9228e09f595957e9616fed51dd418070d2717d6c..7f3c05c1c4c973f482a1e151ed2cdddcdb8d737f 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
        * gdb.base/completion.exp: Skip tests that interrupt GDB with
index 75d98e162f00fb2c8555c6886ff7c86e43649587..a5d0e432631aa95203d77818a5c5323a6e447988 100644 (file)
 # 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.
 
This page took 0.032066 seconds and 4 git commands to generate.