Skip to content

Commit

Permalink
Align C++ TestState::totals() with C totals()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Bachmeyer committed Nov 30, 2022
1 parent 9e26e77 commit ebcfc94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
2022-11-29 Jacob Bachmeyer <[email protected]>

* 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.

Expand Down
1 change: 1 addition & 0 deletions dejagnu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ebcfc94

Please sign in to comment.