This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Suggestion for a new GNATS policy
- From: Daniel Berlin <dberlin at dberlin dot org>
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>,Giovanni Bajo <giovannibajo at libero dot it>,Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>,gcc at gcc dot gnu dot org
- Date: Mon, 12 May 2003 14:48:51 -0400
- Subject: Re: Suggestion for a new GNATS policy
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