zt_main
command line interface for running tests
- Provided by: libzt-doc (Version: 0.3.1-4)
- Source: libzt
- Report a bug
command line interface for running tests
#include
<zt.h>
int
zt_main(int argc,
char **argv, char **envp,
zt_test_suite_func tsuite);
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.
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.
zt_main first appeared in libzt 0.1
Zygmunt Krynicki <me@zygoon.pl>