From 907d26ddf2551d6d6aecccd136c38ba93cc80d06 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Tue, 29 Nov 2022 22:50:45 -0600 Subject: [PATCH] Add comment in libdejagnu test driver that the framework tests are elsewhere --- ChangeLog | 5 +++++ testsuite/libdejagnu/unit.exp | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9c20ec7..693f077 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2022-11-29 Jacob Bachmeyer + * 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. -- 2.11.4.GIT