#include "test_common.h" #include struct testgroup_t groups[] = { { "base/", base_tests }, { "aatree/", aatree_tests }, { "bits/", bits_tests }, { "cxalloc/", cxalloc_tests }, { "cbtree/", cbtree_tests }, { "crypto/", crypto_tests }, { "hashing/", hashing_tests }, { "endian/", endian_tests }, { "string/", string_tests }, { "wchar/", wchar_tests }, { "fnmatch/", fnmatch_tests }, { "ctype/", ctype_tests }, { "heap/", heap_tests }, { "hashtab/", hashtab_tests }, { "list/", list_tests }, { "shlist/", shlist_tests }, { "utf8/", utf8_tests }, { "strpool/", strpool_tests }, { "pgutil/", pgutil_tests }, { "regex/", regex_tests }, { "socket/", socket_tests }, { "netdb/", netdb_tests }, { "cfparser/", cfparser_tests }, { "getopt/", getopt_tests }, { "mdict/", mdict_tests }, { "time/", time_tests }, { "fileutil/", fileutil_tests }, END_OF_GROUPS }; int main(int argc, const char *argv[]) { if (getenv("USE_LOCALE")) setlocale(LC_ALL, ""); return tinytest_main(argc, argv, groups); }