diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | testsuite/libdejagnu/unit.exp | 6 |
2 files changed, 11 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2022-11-29 Jacob Bachmeyer <jcb@gnu.org> + * testsuite/libdejagnu/unit.exp: Add note that tests for the + framework side of the unit testing protocol are located in + testsuite/runtest.main/stats.exp and its nested testsuite. + * Makefile.in: Regenerate. * Makefile.am (check_PROGRAMS): Remove unit. (unit_SOURCES): Remove. @@ -13,6 +17,7 @@ * Makefile.am (check_PROGRAMS): Add testsuite/libdejagnu/unit-cxx. (testsuite_libdejagnu_unit_cxx_SOURCES): Add. * testsuite/libdejagnu/unit.exp: Add tests for C++ unit test API. + * testsuite/libdejagnu/unit-cxx.cxx: New file. * dejagnu.h (TestState::totals): Emit header line, like the C version. diff --git a/testsuite/libdejagnu/unit.exp b/testsuite/libdejagnu/unit.exp index b52a7dc..abbcf8a 100644 --- a/testsuite/libdejagnu/unit.exp +++ b/testsuite/libdejagnu/unit.exp @@ -18,6 +18,12 @@ # This file is a test driver for the unit test protocol library. +# Note that the tests for the framework side of the unit testing support +# are in testsuite/runtest.main/stats.exp and its nested testsuite, and +# this code is a separate implementation for testing libdejagnu. In +# particular, while libdejagnu suport modules will always emit a "Totals:" +# line, that line is not actually part of the protocol. + # Each test program must accept test outcomes on the command line, and # produce exactly those results in that order. |