From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16303 invoked by alias); 7 Feb 2005 14:40:27 -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 16127 invoked from network); 7 Feb 2005 14:40:13 -0000 Received: from unknown (HELO netlx050.vf.utwente.nl) (192.87.17.19) by sourceware.org with SMTP; 7 Feb 2005 14:40:13 -0000 Received: from weblx058.utsp.utwente.nl (weblx058.utsp.utwente.nl [130.89.1.228]) by netlx050.vf.utwente.nl (8.11.7/HKD) with SMTP id j17Ee1f15750; Mon, 7 Feb 2005 15:40:01 +0100 From: "M.M. Kettenis" Subject: Re: [PATCH] Fix broken interp.exp testcase MIME-Version: 1.0 Message-Id: <7319845280102291@weblx058.utsp.utwente.nl> Date: Mon, 07 Feb 2005 20:20:00 -0000 To: Nick Roberts , Mark Kettenis , gdb-patches@sources.redhat.com In-reply-to: <16902.64532.677951.838183@farnswood.snap.net.nz> Content-description: Message body Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: Quoted-Printable X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-MailScanner-From: m.m.kettenis@alumnus.utwente.nl X-SW-Source: 2005-02/txt/msg00021.txt.bz2 Nick Roberts wrote: > > > The new testcase is failing for me: > > > > Running ../../../src/gdb/testsuite/gdb.base/interp.exp ... > > PASS: gdb.base/interp.exp: interpreter-exec mi "-var-update *" > > FAIL: gdb.base/interp.exp: interpreter-exec console "show version" > > > > I committed the attached patch to fix it. > > Well it was passing for me, as it does with your patch. I must have somet= hing > wrong with my setup. Well, the behaviour of expect can be really odd, especially when doing regexp matches. Nothing to really worry about; just keep it in mind. > Running the whole testsuite, I get: > > =3D=3D=3D gdb Summary =3D=3D=3D > > # of expected passes 10077 > # of unexpected failures 361 > # of unexpected successes 1 > # of expected failures 46 > # of known failures 60 > # of unsupported tests 11 > /home/nick/src/gdb/testsuite/../../gdb/gdb version 6.3.50.20050203-cvs -= nx > > > which seems an unacceptable number of fails and makes running the testsui= te > rather pointless. Have you any ideas of what I might be doing wrong? What system is this? It seems unusually high if you're running gdb on an up-to-date i386 GNU/Linux system, but on other systems (including older i386 GNU/Linux) the number of failures can be fairly high because of: * Bugs in gdb. * Bugs in the operating system kernel & (thread) libraries. * Bugs in the compiler you're using. Mark