From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1018 invoked by alias); 7 Jul 2004 15:48:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1008 invoked from network); 7 Jul 2004 15:48:01 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 7 Jul 2004 15:48:01 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i67Fm1e1002686 for ; Wed, 7 Jul 2004 11:48:01 -0400 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i67Flx006868 for ; Wed, 7 Jul 2004 11:48:00 -0400 Received: from touchme.toronto.redhat.com (IDENT:postfix@touchme.toronto.redhat.com [172.16.14.9]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id i67FlvvU018384 for ; Wed, 7 Jul 2004 11:47:57 -0400 Received: from redhat.com (toocool.toronto.redhat.com [172.16.14.72]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 7F5A2800380 for ; Wed, 7 Jul 2004 11:47:57 -0400 (EDT) Message-ID: <40EC1B2D.90504@redhat.com> Date: Wed, 07 Jul 2004 15:48:00 -0000 From: Jeff Johnston User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [RFA]: Fix jmisc testscases to recognize constructor Content-Type: multipart/mixed; boundary="------------090003010007050707010006" X-SW-Source: 2004-07/txt/msg00062.txt.bz2 This is a multi-part message in MIME format. --------------090003010007050707010006 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 379 The attached patch fixes two failures in gdb.java whereby gdb is reporting the constructor in the ptype and the testcase is expecting to see . Ok to commit? 2004-07-07 Jeff Johnston * gdb.java/jmisc.exp: Fix expected output of ptype to look for the jmisc() constructor instead of . * gdb.java/jmisc1.exp: Ditto. --------------090003010007050707010006 Content-Type: text/plain; name="java-test.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="java-test.patch" Content-length: 1903 Index: gdb.java/jmisc.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.java/jmisc.exp,v retrieving revision 1.3 diff -u -p -r1.3 jmisc.exp --- gdb.java/jmisc.exp 24 Feb 2004 16:09:48 -0000 1.3 +++ gdb.java/jmisc.exp 7 Jul 2004 15:44:07 -0000 @@ -72,7 +72,7 @@ if ![set_lang_java] then { send_gdb "ptype jmisc\n" gdb_expect { - -re "type = class jmisc extends java.lang.Object \{\[\r\n\ \t]+void main\\(java\.lang\.String\\\[]\\);\[\r\n\ \t]+void \\(void\\);\[\r\n\ \t]+\}\[\r\n\ \t]+$gdb_prompt $" { pass "ptype jmisc" } + -re "type = class jmisc extends java.lang.Object \{\[\r\n\ \t]+void main\\(java\.lang\.String\\\[]\\);\[\r\n\ \t]+jmisc\\(\\);\[\r\n\ \t]+\}\[\r\n\ \t]+$gdb_prompt $" { pass "ptype jmisc" } -re ".*$gdb_prompt $" { fail "ptype jmisc" } timeout { fail "ptype jmisc (timeout)" ; return } } Index: gdb.java/jmisc1.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.java/jmisc1.exp,v retrieving revision 1.2 diff -u -p -r1.2 jmisc1.exp --- gdb.java/jmisc1.exp 14 Aug 2003 19:11:10 -0000 1.2 +++ gdb.java/jmisc1.exp 7 Jul 2004 15:44:07 -0000 @@ -70,7 +70,7 @@ if ![set_lang_java] then { send_gdb "ptype jmisc\n" gdb_expect { - -re "type = class jmisc extends java.lang.Object \{\[\r\n\ \t]+void main\\(java\.lang\.String\\\[]\\);\[\r\n\ \t]+void \\(void\\);\[\r\n\ \t]+\}\[\r\n\ \t]+$gdb_prompt $" { pass "ptype jmisc" } + -re "type = class jmisc extends java.lang.Object \{\[\r\n\ \t]+void main\\(java\.lang\.String\\\[]\\);\[\r\n\ \t]+jmisc\\(\\);\[\r\n\ \t]+\}\[\r\n\ \t]+$gdb_prompt $" { pass "ptype jmisc" } -re ".*$gdb_prompt $" { fail "ptype jmisc" } timeout { fail "ptype jmisc (timeout)" ; return } } --------------090003010007050707010006--