This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: zillions of testsuite failures
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: David Carlton <carlton at math dot stanford dot edu>
- Cc: gdb at sources dot redhat dot com, Elena Zannoni <ezannoni at redhat dot com>, Fernando Nasser <fnasser at redhat dot com>
- Date: Wed, 15 Jan 2003 19:50:08 -0500
- Subject: Re: zillions of testsuite failures
- References: <ro165sq6j9h.fsf@jackfruit.Stanford.EDU>
try this for the first problem (args.exp), it seems to work for me, if
it works for you too I'll check it in.
For the second problem, I don't see any failures in my configuration, let me
check again.
Elena
Index: args.exp
===================================================================
RCS file: /cvs/uberbaum/gdb/testsuite/gdb.base/args.exp,v
retrieving revision 1.1
diff -u -p -r1.1 args.exp
--- args.exp 14 Jan 2003 21:03:42 -0000 1.1
+++ args.exp 16 Jan 2003 00:44:12 -0000
@@ -37,6 +37,7 @@ if { [gdb_compile "${srcdir}/${subdir}/
#
# Test that the --args are processed correctly.
#
+set old_gdbflags $GDBFLAGS
set GDBFLAGS "--args $binfile 1 3"
gdb_exit
gdb_start
@@ -67,4 +68,5 @@ gdb_test "run" \
"Starting program.*args 1 \\\\'\\\\' \\\\'\\\\' 3.*5\r\n.*args\r\n1\r\n''\r\n''\r\n3.*Program exited normally." \
"correct args printed, two empty"
+set GDBFLAGS $old_gdbflags