From 4d829912f7104d6f96886c1e46c173e9e7478946 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Tue, 20 Dec 2022 21:55:44 -0600 Subject: Add support for errors and warnings in the unit test protocol --- doc/dejagnu.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi index 1e1d44f..5b94c0e 100644 --- a/doc/dejagnu.texi +++ b/doc/dejagnu.texi @@ -2524,6 +2524,18 @@ information. This will cause @i{text} to be printed at verbose levels 2 and higher. +@print{}@t{@ @ @ @ @ @ @ @ ERROR: }@i{text} + +This reports a major nonfatal error detected in the unit test program. +The framework will change the next test result to UNRESOLVED as a +result of the error. + +@print{}@t{@ @ @ @ @ @ @ @ WARNING: }@i{text} + +This reports a minor nonfatal error detected in the unit test program. +If more than @code{warning_threshold} minor errors occur between test +results, the framework will change the next test result to UNRESOLVED. + @print{}@t{@ @ @ @ @ @ @ @ PASSED: }@i{name} @print{}@t{@ @ @ @ @ @ @ @ FAILED: }@i{name} -- cgit v1.1