From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27235 invoked by alias); 29 Nov 2009 15:12:21 -0000 Received: (qmail 27225 invoked by uid 22791); 29 Nov 2009 15:12:20 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 29 Nov 2009 15:12:17 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nATFCF89030103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 29 Nov 2009 10:12:15 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nATFCDX3029374 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 29 Nov 2009 10:12:15 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id nATFCCid027321 for ; Sun, 29 Nov 2009 16:12:12 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id nATFC7Nv027308 for gdb-patches@sourceware.org; Sun, 29 Nov 2009 16:12:07 +0100 Date: Sun, 29 Nov 2009 15:12:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Subject: [patch] testsuite: bigcore.exp fuzzy PASS message fix Message-ID: <20091129151207.GA27126@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00594.txt.bz2 Hi, seen needlessly fuzzy results: -PASS: gdb.base/bigcore.exp: extract next heap (stop at 50) -PASS: gdb.base/bigcore.exp: extract prev heap (stop at 50) +PASS: gdb.base/bigcore.exp: extract next heap +PASS: gdb.base/bigcore.exp: extract prev heap but the .exp file just is not patient enough: -Total of 4292375328 (0xffd87320) bytes bytes 53 chunks +Total of 4292422432 (0xffd92b20) bytes bytes 41 chunks Increased to 200. Tested on {x86_64,x86_64-m32}-fedora12-linux-gnu. Thanks, Jan gdb/testsuite/ 2009-11-29 Jan Kratochvil * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200. --- a/gdb/testsuite/gdb.base/bigcore.exp +++ b/gdb/testsuite/gdb.base/bigcore.exp @@ -96,7 +96,7 @@ proc extract_heap { dir } { } -re " = \\(struct list \\*\\) (0x\[0-9a-f\]*).*$gdb_prompt $" { set heap [concat $heap $expect_out(1,string)] - if { $lim >= 50 } { + if { $lim >= 200 } { pass "$test (stop at $lim)" } else { incr lim