bug-dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#53427: perror should not errcnt across test files


From: Martin Cermak
Subject: bug#53427: perror should not errcnt across test files
Date: Mon, 24 Jan 2022 10:44:01 +0100
User-agent: NeoMutt/20180716

On  Fri  2022-01-21  21:26 , Jacob Bachmeyer wrote:
> Martin Cermak wrote:
> > There seems to be an old bug originally reported in the Red Hat
> > bug tracker [1] still present in the dejagnu 1.6.3 sources.
> > Steps to Reproduce:
> > 
> > 
> > echo 'perror foo' >a.exp; echo 'pass bar' >b.exp; runtest a.exp b.exp; cat 
> > testrun.sum
> > 
> > Actual results:
> > [...]
> > 
> > Patch attached.  Please consider fixing.
> 
> A regression test and fix has been pushed to Savannah on the PR53427 branch,
> as of commit c5964e8fa2a8c3657cd6f6fef63d43451eedac7d.
> 
> The supplied patch would have also zeroed the per-target test counts between
> test files, so it was not usable.  A more-direct solution was applied.
> 
> Please confirm that this resolves the issue with whatever system originally
> encountered this bug, if possible.  If so, I will merge the branch and this
> will be fixed in 1.6.4.


Jacob, your patch seems to work for me.

Thank you,
Martin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]