This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Replacing DejaGNU
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: MCC CS <mcccs at gmx dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 14 Jan 2019 17:28:50 +0100
- Subject: Re: Replacing DejaGNU
- References: <trinity-a2a7e429-292d-455f-9dc1-c97e201b66d4-1547473447594@3c-app-mailcom-bs12> <yddef9fbb0q.fsf@CeBiTec.Uni-Bielefeld.DE> <CAFiYyc2mdALTA_BED0ePx99-s9JtTc02X=TFdrG5KzYaa9+5cw@mail.gmail.com> <trinity-cdabcbeb-5fff-43f9-8dea-82f6f2b6da42-1547475305348@3c-app-mailcom-bs06> <20190114143501.GF30353@tucnak> <2ceead27-b0ff-3052-9e70-210b6f01cfbe@oracle.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Jan 14, 2019 at 03:50:32PM +0100, Paolo Carlini wrote:
> On 14/01/19 15:35, Jakub Jelinek wrote:
> > On Mon, Jan 14, 2019 at 03:15:05PM +0100, MCC CS wrote:
> > > Thank you for the quick replies. I was inspired by
> > > https://gcc.gnu.org/ml/gcc-help/2012-04/msg00223.html
> > > but it seems, according to your comments, that was outdated.
> > So, I don't really see what would help you replacing the testsuite
> > framework, moreover, we have like 400k tests now and many of them
> > use simpler or more complicated tcl expressions in them, including almost
> > 2.5MB of pure tcl code. Replacing it with something different and
> > incompatible is lots of work, especially when all you want is work around a
> > bug in some broken OS.
>
> I'm not an expert but certainly there are long standing issues with DejaGNU,
> well beyond perfornance, right? I remember Mark Mitchell doing some work in
> this area which, as far as I can remember, had nothing to do with
> performance per se. And, well, some of these issues are obvious to explain,
> like not being able to check for *duplicate* error messages. I remember
> briefly discussing this with Dodji in Manchester.
I think several testcases check for duplicate error messages, the regexp is
against the whole text, so you can just check if it occurs more than once
there.
> Just wanted to make sure this kind of public discussion isn't completely
> suppressed.
I don't want to suppress any discussion, all I wanted to say is that
replacing the testsuite framework is a multi-year project and if it is done,
we'd need to decide on the benefits and disadvantages (even if it has a
superset of the features current framework has, having each developer learn
a new framework is non-trivial cost too).
Jakub