diff options
author | Jacob Bachmeyer <jcb@gnu.org> | 2022-12-20 22:27:28 -0600 |
---|---|---|
committer | Jacob Bachmeyer <jcb@gnu.org> | 2022-12-20 22:27:28 -0600 |
commit | d807904c119232226a7f644b6a5ebdbb1ed2a67d (patch) | |
tree | 843d387c0656b0c631cea3333ab109a611effba4 /doc | |
parent | 4d829912f7104d6f96886c1e46c173e9e7478946 (diff) | |
download | dejagnu-d807904c119232226a7f644b6a5ebdbb1ed2a67d.zip dejagnu-d807904c119232226a7f644b6a5ebdbb1ed2a67d.tar.gz dejagnu-d807904c119232226a7f644b6a5ebdbb1ed2a67d.tar.bz2 |
Add support for reporting errors and warnings in dejagnu.h
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dejagnu.texi | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi index 5b94c0e..43e13f6 100644 --- a/doc/dejagnu.texi +++ b/doc/dejagnu.texi @@ -2645,6 +2645,22 @@ facility that is not available in the testing environment. @end quotation @item +@code{DG_error} prints a message for a major but nonfatal error +detected in a test case. + +@quotation +@t{@b{DG_error}(@i{msg}, ...);} +@end quotation + +@item +@code{DG_warning} prints a message for a minor error detected in a +test case. + +@quotation +@t{@b{DG_warning}(@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 @@ -2741,7 +2757,23 @@ to look over the results to determine what happened. facility that is not available in the testing environment. @quotation -@t{@b{TestState::unsupported}(@i{msg}, ...);} +@t{@b{TestState::unsupported}(@i{msg});} +@end quotation + +@item +@code{error} prints a message for a major but nonfatal error +detected in a test case. + +@quotation +@t{@b{TestState::error}(@i{msg});} +@end quotation + +@item +@code{warning} prints a message for a minor error detected in a +test case. + +@quotation +@t{@b{TestState::warning}(@i{msg});} @end quotation @end itemize |