shtk_unittest_main man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

SHTK_UNITTEST_MAIN(3)	 BSD Library Functions Manual	 SHTK_UNITTEST_MAIN(3)

NAME
     shtk_unittest_main — Standard test program entry point

LIBRARY
     shtk_import unittest

SYNOPSIS
     shtk_unittest_main

DESCRIPTION
     The shtk_unittest_main function implements the standard entry point of a
     test program that uses the shtk_unittest(3) library.  The
     shtk_unittest_main function runs all test cases registered within the
     test case and determines the correct exit condition for the test program.

     In order to use shtk_unittest_main, test programs must either explicitly
     call the function from their main method as this:

	   main() { shtk_unittest_main "${@}"; }

     Or the test program can be compiled with an override for the main
     method's name:

	   $ shtk build -m shtk_unittest_main module_test.sh

     In general, prefer the latter mechanism.

RETURN VALUES
     Returns 0 (true) if all executed test cases pass, or 1 (false) if any
     test fails.

SEE ALSO
     shtk(3), shtk_unittest(3)

HISTORY
     shtk_unittest_main first appeared in shtk 1.6.

BSD			       November 8, 2014				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net