aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--dejagnu.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 6299ea7..e7d20b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2022-11-29 Jacob Bachmeyer <jcb@gnu.org>
+ * dejagnu.h (TestState::totals): Emit header line, like the C version.
+
* dejagnu.h (TestState::note): New method, like C note().
* doc/dejagnu.texi (C++ unit testing API): Add note() method.
diff --git a/dejagnu.h b/dejagnu.h
index 49923b2..cdb6c61 100644
--- a/dejagnu.h
+++ b/dejagnu.h
@@ -262,6 +262,7 @@ class TestState {
void totals (void)
{
+ std::cout << std::endl << "Totals:" << std::endl;
std::cout << "\t#passed:\t\t" << passed << std::endl;
std::cout << "\t#real failed:\t\t" << failed << std::endl;
if (xfailed)