This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Update selftest.exp; Was: RFA: start of i18n
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: tromey at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 22 Jun 2002 18:24:28 -0400
- Subject: [patch] Update selftest.exp; Was: RFA: start of i18n
- References: <87elf0wnp2.fsf@fleche.redhat.com>
This causes no test suite regressions on Red Hat Linux 7.3.
Tom,
Just FYI, I ended up committing the attached - fixed a regression in
selftest.exp.
enjoy,
Andrew
2002-06-22 Andrew Cagney <ac131313@redhat.com>
* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
setlocale, bindtextdomain and textdomain.
Index: gdb.base/selftest.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/selftest.exp,v
retrieving revision 1.3
diff -u -r1.3 selftest.exp
--- gdb.base/selftest.exp 7 Jan 2002 19:20:09 -0000 1.3
+++ gdb.base/selftest.exp 22 Jun 2002 22:10:23 -0000
@@ -52,7 +52,7 @@
gdb_reinitialize_dir $srcdir/..
- for {set count 0} {$count < 22} {incr count} {
+ for {set count 0} {$count < 26} {incr count} {
send_gdb "list\n"
gdb_expect {
-re ".*context = data.*$gdb_prompt $" {
@@ -141,6 +141,22 @@
}
-re ".*dirarg = .* xmalloc.*$gdb_prompt $" {
return
+ }
+ -re ".*setlocale .LC_MESSAGES,.*$gdb_prompt $" {
+ set description "next over setlocale LC_MESSAGES"
+ set command "next"
+ }
+ -re ".*setlocale .LC_CTYPE,.*$gdb_prompt $" {
+ set description "next over setlocale LC_CTYPE"
+ set command "next"
+ }
+ -re ".*bindtextdomain .PACKAGE, LOCALEDIR.;.*$gdb_prompt $" {
+ set description "next over bindtextdomain"
+ set command "next"
+ }
+ -re ".*textdomain .PACKAGE.;.*$gdb_prompt $" {
+ set description "next over textdomain PACKAGE"
+ set command "next"
}
-re "\[ \t\]+\{\r\n$gdb_prompt $" {
setup_xfail "mips-*-irix5*"