From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31949 invoked by alias); 8 Apr 2002 18:56:36 -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 31932 invoked from network); 8 Apr 2002 18:56:34 -0000 Received: from unknown (HELO duracef.shout.net) (204.253.184.12) by sources.redhat.com with SMTP; 8 Apr 2002 18:56:34 -0000 Received: (from mec@localhost) by duracef.shout.net (8.11.6/8.11.6) id g38Iu6L14269; Mon, 8 Apr 2002 13:56:06 -0500 Date: Mon, 08 Apr 2002 11:56:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200204081856.g38Iu6L14269@duracef.shout.net> To: drow@mvista.com Subject: Re: RFC: KFAIL DejaGnu patch Cc: ac131313@cygnus.com, eliz@is.elta.co.il, fnasser@redhat.com, gdb-patches@sources.redhat.com, rob@welcomehome.org X-SW-Source: 2002-04/txt/msg00315.txt.bz2 Daniel Jacobowitz writes: > That would only be useful if we always marked all tests - which we're > awful about. continue {2} might be any number of different continue > statements in the test. Let me explain in more detail. Right now there are tests with output like this: gdb.base/foo.exp: PASS: continue gdb.base/foo.exp: PASS: continue gdb.base/foo.exp: PASS: continue gdb.base/foo.exp: PASS: continue I have to do something to make the test names unique. So I behave as if the input is this: gdb.base/foo.exp: PASS: continue gdb.base/foo.exp: PASS: continue {2} gdb.base/foo.exp: PASS: continue {3} gdb.base/foo.exp: PASS: continue {4} This is flawed, because if someone adds or subtracts sections from the test, the sequence numbers will get re-numbered, and I lose the ability to compare across many runs. As you point out, "continue {2}" might be in different places depending on conditional execution and so on. But I have to do *something*. If I just do "$hash{$name} = $result", then the totals don't even add up correctly. Michael C