From 1757c1eeff6cda9f77591349f190c86fdcdccb7e Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Mon, 28 Nov 2022 21:30:49 -0600 Subject: [PATCH] Document the dejagnu.h functions for the UNSUPPORTED status --- ChangeLog | 3 +++ doc/dejagnu.texi | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6036924..a74fce5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,9 @@ (TestState::totals): Likewise for C++ API. * lib/dejagnu.exp (host_execute): Add UNSUPPORTED test result. * doc/dejagnu.texi (DejaGnu unit test protocol): Document same. + (C unit testing API): Document new function for same. + (C++ unit testing API): Document new function for same. + * testsuite/libdejagnu/unit-c.c: Add test for UNSUPPORTED. * testsuite/libdejagnu/unit.exp: Likewise. diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi index 91048b7..deeb46d 100644 --- a/doc/dejagnu.texi +++ b/doc/dejagnu.texi @@ -2622,6 +2622,14 @@ to look over the results to determine what happened. @end quotation @item +@code{unsupported} prints a message for a test case that depends on a +facility that is not available in the testing environment. + +@quotation +@t{@b{unsupported}(@i{msg}, ...);} +@end quotation + +@item @code{totals} prints out the total counts of all of the test results as a convenience when running the unit test program directly. DejaGnu does not use this information and instead counts the results @@ -2702,6 +2710,14 @@ to look over the results to determine what happened. @end quotation @item +@code{unsupported} prints a message for a test case that depends on a +facility that is not available in the testing environment. + +@quotation +@t{@b{unsupported}(@i{msg}, ...);} +@end quotation + +@item @code{totals} prints out the total counts of all of the test results as a convenience when running the unit test program directly. DejaGnu does not use this information and instead counts the results -- 2.11.4.GIT