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: Jacob Bachmeyer
Subject: bug#53427: perror should not errcnt across test files
Date: Mon, 24 Jan 2022 20:44:14 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

Martin Cermak wrote:
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.

Merged; the patch has landed for 1.6.4.

-- Jacob






reply via email to

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