This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Testsuite regression for gdb.gdb/selftest.exp [Re: RFC: call bfd_init]
Tom> Haha, of course.
Tom> I will fix it tomorrow.
Here is what I am checking in.
Tom> selftest.exp fails randomly for me so it is in my list to ignore.
Tom> I guess I will try to diagnose this as well.
It is due to differences in the builds. A comment in selftest.exp warns
about this, but the test names still depend on the details of the build.
Gross. Anyway I will stop ignoring it now.
Tom
2013-01-22 Tom Tromey <tromey@redhat.com>
* gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
call.
Index: gdb.gdb/selftest.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.gdb/selftest.exp,v
retrieving revision 1.32
diff -u -r1.32 selftest.exp
--- gdb.gdb/selftest.exp 1 Jan 2013 06:41:22 -0000 1.32
+++ gdb.gdb/selftest.exp 22 Jan 2013 15:46:10 -0000
@@ -150,6 +150,10 @@
set description "next over textdomain PACKAGE"
set command "next"
}
+ -re ".*bfd_init ..;.*$gdb_prompt $" {
+ set description "next over bfd_init"
+ set command "next"
+ }
-re ".*VEC_cleanup .cmdarg_s.*$gdb_prompt $" {
set description "next over cmdarg_s VEC_cleanup"
set command "next"