This is the mail archive of the gdb-patches@sources.redhat.com 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]

Small fix to java tests


Tom Tromey modified some error messages in jv-exp.y; they no longer
contain a final dot.  This patch adjusts the testsuite accordingly.

Checked in as obvious.

Mark


Index: testsuite/ChangeLog
from  Mark Kettenis  <kettenis@elgar.kettenis.dyndns.org>

	* gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
	2002-07-24 change that removes final dots from error messages.

Index: testsuite/gdb.java/jv-print.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.java/jv-print.exp,v
retrieving revision 1.2
diff -u -p -r1.2 jv-print.exp
--- testsuite/gdb.java/jv-print.exp 6 Mar 2001 08:21:58 -0000 1.2
+++ testsuite/gdb.java/jv-print.exp 15 Aug 2002 17:17:51 -0000
@@ -89,8 +89,8 @@ proc test_integer_literals_rejected {} {
     global gdb_prompt
 
     test_print_reject "p 0x" 
-    gdb_test "p ''" "Empty character constant\\."
-    gdb_test "p '''" "Empty character constant\\."
+    gdb_test "p ''" "Empty character constant"
+    gdb_test "p '''" "Empty character constant"
     test_print_reject "p '\\'"
 
     # Note that this turns into "p '\\\'" at gdb's input.


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