Revise generation of "END" messages in dejagnu.h
commitcc2dcde3edb178434be6ce74fdd12322a35fcfb5
authorJacob Bachmeyer <jcb@gnu.org>
Thu, 1 Dec 2022 04:52:25 +0000 (30 22:52 -0600)
committerJacob Bachmeyer <jcb@gnu.org>
Thu, 1 Dec 2022 04:52:25 +0000 (30 22:52 -0600)
tree008fb21128bf7c744327772e772065cf7b3a0f58
parent25c50aa4235fd396b740f19c5641dea5adaebc27
Revise generation of "END" messages in dejagnu.h

The "END" message is now produced upon normal exit, without requiring that
the totals() function or method be called.  The C++ API now emits totals
only when the last TestState object in the program is destroyed, instead
of every time a TestState object is destroyed.  This required adding code
to track the number of live TestState objects.
ChangeLog
dejagnu.h