This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/testsuite ChangeLog gdb.gdb/complaints ...
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: Tue, 18 Jun 2013 14:12:09 +0000
- Subject: src/gdb/testsuite ChangeLog gdb.gdb/complaints ...
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2013-06-18 14:12:09
Modified files:
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.gdb: complaints.exp observer.exp xfullpath.exp
gdb/testsuite/lib: selftest-support.exp
Log message:
fix python-selftest.exp failure with gdbserver
python-selftest.exp fails with an error when using the
native-gdbserver.exp board.
The bug is that the selftest code doesn't work in this situation. It
never has.
This patch fixes the problem by pushing the needed check into
do_self_tests. This helps prevent the problem in the future.
* lib/selftest-support.exp (do_self_tests): Reject remote or
non-native targets.
* gdb.gdb/complaints.exp: Remove check.
* gdb.gdb/observer.exp: Remove check.
* gdb.gdb/xfullpath.exp: Remove check.
* gdb.gdb/complaints.exp: Remove check.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3695&r2=1.3696
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.gdb/complaints.exp.diff?cvsroot=src&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.gdb/observer.exp.diff?cvsroot=src&r1=1.22&r2=1.23
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.gdb/xfullpath.exp.diff?cvsroot=src&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/lib/selftest-support.exp.diff?cvsroot=src&r1=1.1&r2=1.2