From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21602 invoked by alias); 12 May 2003 18:57:32 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 31638 invoked from network); 12 May 2003 18:48:57 -0000 Received: from unknown (HELO dberlin.org) (69.3.5.6) by sources.redhat.com with SMTP; 12 May 2003 18:48:57 -0000 Received: from [192.168.1.3] (account dberlin HELO dberlin.org) by dberlin.org (CommuniGate Pro SMTP 4.1b6) with ESMTP-TLS id 3952785; Mon, 12 May 2003 14:48:56 -0400 Date: Mon, 12 May 2003 18:57:00 -0000 Subject: Re: Suggestion for a new GNATS policy Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: Wolfgang Bangerth , Giovanni Bajo , Volker Reichelt , gcc@gcc.gnu.org To: Steven Bosscher From: Daniel Berlin In-Reply-To: <1052757240.729.53.camel@steven> Message-Id: <5F89DB76-84AA-11D7-9010-000A95A34564@dberlin.org> Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg01212.txt.bz2 On Monday, May 12, 2003, at 12:33 PM, Steven Bosscher wrote: > Op ma 12-05-2003, om 16:39 schreef Wolfgang Bangerth: >>> I can make a radio button labeled "Reconfirm" (right under "Leave as >>> NEW") for you guys if you want, so it's just "select reconfirm, >>> click >>> commit". >> >> That's cool. I also like the "minimized" and "verified" flags (which >> indeed are really boolean flags). >> >> Thanks for you work and responsiveness on all this, Daniel! > > Wild idea: > > What I'd really like to see is a "minimized test case" field (which may > be a pointer to an attachment) and an SQL query to extract them all. Errr, you can have flags on attachments, so you can mark attachments with a "minimized test case" flag, and query all of the existing ones. It takes about 7 lines of perl to extract them: # Include the Bugzilla CGI and general utility library. use lib qw(.); require "CGI.pl"; # Establish a connection to the database backend. ConnectToDatabase(); use Bugzilla::Flag; use Bugzilla::FlagType; my (%criteria); $criteria{"target_type"} = "attachment"; #This is the minimized flag id $criteria{"type_id"} = "3"; my @results = Bugzilla::Flag::match(\%crit); > > That way, people could put DejaGNU-ified test cases in the bug > database, > rip them all out with the query, and test them on their target. Even > if > only a few people would to that, we would know much sooner if/when a > bug > got fixed unnoticed (ie. PR not in CVS commit msg.), and to which > target > the bug applies. > > The idea is that we really would like to be able to batch-test PR > reports. Janis and Wolfgang have talked about a PR testsuite, and this > idea was mentioned again earlier in this thread, but we really don't > want to litter the test suite that much. With an easy way to extract > all minimized test cases, you'd effectively have the same thing without > even touching the testsuite. > > Thoughts? > > Greetz > Steven > >