Revision | 5d978e177217d8e9da8648498f0592b5cd885e69 (tree) |
---|---|
Zeit | 2015-12-15 08:17:23 |
Autor | Sandra Loosemore <sandra@code...> |
Commiter | Sandra Loosemore |
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.
@@ -1,5 +1,9 @@ | ||
1 | 1 | 2015-12-14 Sandra Loosemore <sandra@codesourcery.com> |
2 | 2 | |
3 | + * gdb.base/gdbinit-history.exp: Skip for remote-host testing. | |
4 | + | |
5 | +2015-12-14 Sandra Loosemore <sandra@codesourcery.com> | |
6 | + | |
3 | 7 | * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing. |
4 | 8 | |
5 | 9 | 2015-12-14 Sandra Loosemore <sandra@codesourcery.com> |
@@ -17,6 +17,14 @@ | ||
17 | 17 | |
18 | 18 | # Test the setting of "history size" via $HOME/.gdbinit |
19 | 19 | |
20 | +# This test depends on being able to set $HOME and $GDBHISTSIZE. | |
21 | +# We cannot expect remote hosts to see environment variables set on the | |
22 | +# local machine. | |
23 | + | |
24 | +if { [is_remote host] } { | |
25 | + unsupported "can't set environment variables on remote host" | |
26 | + return -1 | |
27 | +} | |
20 | 28 | |
21 | 29 | # Check that the history size is properly set to SIZE when reading the .gdbinit |
22 | 30 | # file located in HOME with the environment variable GDBHISTSIZE optionally |