logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zt_main — command line interface for running tests

Authors

       Zygmunt Krynicki <me@zygoon.pl>

libzt 0.3.1                                     January 12, 2020                                      zt_main(3)

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.

History

zt_main first appeared in libzt 0.1

Name

       zt_main — command line interface for running tests

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)

Synopsis

#include<zt.h>intzt_main(intargc, char**argv, char**envp, zt_test_suite_functsuite);

See Also