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.
This commit is contained in:
Sandra Loosemore 2015-12-14 15:14:03 -08:00
parent 87a3a92c46
commit 7e763b8690
2 changed files with 12 additions and 0 deletions

View 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> 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
* gdb.base/completion.exp: Skip tests that interrupt GDB with * gdb.base/completion.exp: Skip tests that interrupt GDB with

View File

@ -18,6 +18,14 @@
# Test the setting of "history size" via the GDBHISTSIZE environment variable # 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 # Check that the history size is properly set to SIZE when the environment
# variable ENV_VAR is set to GDBHISTSIZE. # variable ENV_VAR is set to GDBHISTSIZE.