BOOTSTRAP (ktestutils) functions


LIBRARY ROUTINE

ktest_end - end a testsuite

LIBRARY CALL

void
ktest_end(
   void)

INPUT

none

OUTPUT

none

RETURN VALUE

none

DESCRIPTION

This function is used to finish a testsuite. This marks the end of the testsuite log, and if any cases failed, then a line is printed to stdout giving the number of failures.

After printing out any information, ktest_end calls kexit() with the parameter KEXIT_SUCCESS if no cases failed, and KEXIT_FAILURE if one or more cases failed.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/ktestutils/src/public.c

SEE ALSO

ktestutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.