Man page - zt_main(3)
Packages contains this manual
- zt_pack_boolean(3)
- zt_claim(3)
- zt_location_at(3)
- zt_test(3)
- zt_test_suite_func(3)
- zt_pack_integer(3)
- zt_pack_nothing(3)
- zt_location(3)
- libzt(3)
- zt_test_case_func(3)
- zt_main(3)
- zt_pack_pointer(3)
- zt_value(3)
- zt_visit_test_case(3)
- zt_pack_string(3)
- zt_visitor(3)
- zt_check(3)
- zt_pack_unsigned(3)
- zt_pack_rune(3)
apt-get install libzt-doc
Manual
UNTITLED () LOCAL UNTITLED ()
NAME
zt_main ā command line interface for running tests
SYNOPSIS
#include <zt.h>
int
zt_main ( intĀ argc , charĀ **argv , charĀ **envp , zt_test_suite_funcĀ tsuite );
DESCRIPTION
zt_main takes familiar arguments as well as a single test suite function. Depending on command line arguments some or all tests are enumerated and printed or executed.
RETURN VALUES
When tests are executed the return value is EXIT_SUCCESS or EXIT_FAILURE . If tests are only listed the return value is always EXIT_SUCCESS .
SEE ALSO
ZT_VISIT_TEST_CASE (3), ZT_VISIT_TEST_SUITE (3)
HISTORY
zt_main first appeared in libzt 0.1
AUTHORS
Zygmunt Krynicki < me@zygoon.pl > libzt 0.3.1 January 12, 2020 zt_main (3)