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

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

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

index 7f3c05c1c4c973f482a1e151ed2cdddcdb8d737f..b46ccbde0497f03813d74d894411f968548ef545 100644 (file)
@@ -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.
index 85ef12fa0a9ea73341bf6fd648e6ffe6ce9881dd..3f726d15abc92434cdff15bdad46f29ea846ba4f 100644 (file)
 
 # 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
This page took 0.03078 seconds and 4 git commands to generate.