Previous: SUMMARY, Up: Adminstrative Macros
return the number of tests which have failed
#include <testlib.h> int FAILED( );
FAILED
returns the number of tests which have failed. This is
useful for constructing an exit value for the test program to alert
other software (make, for instance) that there has been a failure.
return FAILED( ) ? EXIT_FAILURE : EXIT_SUCCESS;