Re: Providing more precise "excess errors" message in DejaGnu

Thiago Jung Bauermann via Gcc <[email protected]> Thu, 28 Aug 2025 12:18:55 -0300
Newsgroups gmane.comp.gcc.devel,gmane.comp.sysutils.dejagnu.general
Message-ID <[email protected]>
"Richard Earnshaw (lists)" <[email protected]> writes:

> On 28/08/2025 15:01, Iain Sandoe wrote:
>>=20
>> =E2=80=A6 the classification is useful, but the false positive =E2=80=9C=
new fail / old fail went away=E2=80=9D
>> pairs are a real nuiscance .. hopefully we can have some brainstorming @=
cauldron about
>> ways to deal with this (e.g. fuzzy matching or some smart way to discard=
 the twinkling
>> line numbers).
>>=20
>
> Well really, the compare-tests script should report duplicate results as =
a problem as
> well, since
>
> PASS: abcd
> ...
> PASS: abcd
>
> is just a dup pass/fail waiting to happen.

GDB has some magic to detect and report duplicate test names during the
DejaGNU run:

https://sourceware.org/git?p=3Dbinutils-gdb.git;a=3Dblob;f=3Dgdb/testsuite/=
lib/check-test-names.exp;h=3D049addd49a93744a832ec0fb5249cd59f3db74f1;hb=3D=
refs/heads/master#l64

--=20
Thiago