This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, testsuite] skip gdb.base/gdbhistsize-history.exp on remote hosts


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]