Re: Excluding FAILs from UNSUPPORTED test cases

Arsen Arsenović <[email protected]> Mon, 26 Sep 2022 13:25:16 +0200
Newsgroups gmane.comp.sysutils.dejagnu.general
Message-ID <5029990.hltQVl2HSn@bstg>
Hi,

On Monday, 26 September 2022 03:11:43 CEST Jacob Bachmeyer wrote:
> The tests that it fixed probably need some attention in the form of
> moving some "preclean" steps to GCC's ${tool}-dg-test.
I'll add giving them a look to my TODO.

> Keeping the current interface while fixing the {PASS,FAIL}+UNSUPPORTED
> issue is also possible:  we can build up a list of results from
> scanning the messages, but not actually report them to the framework
> until after checking the return value of ${tool}-dg-prune for an
> "abandon test" flag.  Note that ${tool}-dg-test could produce this
> flag in lieu of actual output and ${tool}-dg-prune simply pass it
> along.  (I suspect that the current Tcl list facilities that would
> enable this were not yet available when dg.exp was written more than
> 20 years ago.)
> 
> The main reason I am reluctant to simply accept the "abandon test"
> flags directly from ${tool}-dg-test is that that would completely
> break backwards compatibility:  testsuites depending on this would
> absolutely need DejaGnu 1.6.4, and I think we may be able to get most
> of the way there (at least getting an UNSUPPORTED result reliably
> into the summary) with existing code.
Right, I didn't think of that.  Indeed, aggregating the results to 
dispatch them after pruning (but before excess error) should cover all 
of these cases.

> Excellent!  It is now tracked as PR58065.  I expect to have a
> regression test and a preliminary patch in a few days.
That's great.  Thank you very much!

Have a good day,
-- 
Arsen Arsenović
signature.asc (application/pgp-signature, 358 B)
-----BEGIN PGP SIGNATURE-----

iNUEABYKAH0WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCYzGL/18UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF
MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MwAKCRBSwpQwHqLE
kxCAAP9ZqFFSU4Lq/bg8EafslJ6jPalSB1Ti8ArX4SC4IQh53gEApF9N9UY1/8ML
uCNR/NK31OhdTV5mD3Ojeilo1HeBmgI=
=SD3j
-----END PGP SIGNATURE-----