Clarify the advice about reporting errors in test hooks
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
414e717036
commit
76e9c64c3e
1 changed files with 3 additions and 2 deletions
|
@ -265,8 +265,9 @@ void test_hooks_init( void );
|
|||
|
||||
/** Check if any test hooks detected a problem.
|
||||
*
|
||||
* If a problem was detected, make sure to print an explanation to stderr,
|
||||
* either at the time of detection or during the call to this function.
|
||||
* \note When implementing a test hook, make sure to print a message
|
||||
* to standard error either at the time the problem is detected
|
||||
* or during the execution of this function.
|
||||
*
|
||||
* \return Nonzero if a problem was detected.
|
||||
* \c 0 if no problem was detected.
|
||||
|
|
Loading…
Reference in a new issue