This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch, testsuite] skip gdb.base/gdbhistsize-history.exp on remote hosts
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>
- Date: Mon, 14 Dec 2015 09:16:32 +0000
- Subject: Re: [patch, testsuite] skip gdb.base/gdbhistsize-history.exp on remote hosts
- Authentication-results: sourceware.org; auth=none
- References: <55F8650E dot 2020901 at codesourcery dot com>
Sandra Loosemore <sandra@codesourcery.com> writes:
> The testcase gdb.base/gdbhistsize-history.exp checks to see whether
> GDB pays attention to the environment variable GDBHISTSIZE. But,
> setting the environment variable in the .exp script doesn't work when
> the host GDB is running on is remote (think of the case where
> gdb_start runs a ssh command to a remote host to invoke GDB). It
> seems best just to skip this set of tests in this case.
For the record, these tests fail with local-remote-host-native board
file,
$ make check RUNTESTFLAGS="--host_board=local-remote-host-native --target_board=local-remote-host-native HOST_DIR=/tmp/foo/ gdbhistsize-history.exp"
FAIL: gdb.base/gdbhistsize-history.exp: histsize=: show history size
FAIL: gdb.base/gdbhistsize-history.exp: histsize=0: show history size
FAIL: gdb.base/gdbhistsize-history.exp: histsize=0: show commands
FAIL: gdb.base/gdbhistsize-history.exp: histsize=20: show history size
FAIL: gdb.base/gdbhistsize-history.exp: histsize= 20 : show history size
FAIL: gdb.base/gdbhistsize-history.exp: histsize=-5: show history size
FAIL: gdb.base/gdbhistsize-history.exp: histsize=99999999999999999999999999999999999: show history size
>
> OK to commit?
Yes, please.
--
Yao (éå)