1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
/**
* do-test.c
*
* Copyright (c) 2005
* libchewing Core Team. See ChangeLog for details.
*
* See the file "COPYING" for information on usage and redistribution
* of this file.
*/
#include <check.h>
extern Suite *key2pho_suite (void);
extern Suite *utf8_suite (void);
extern Suite *mmap_suite(void);
int main (void)
{
int nf;
SRunner *sr = srunner_create(key2pho_suite());
srunner_add_suite(sr, utf8_suite());
srunner_add_suite(sr, mmap_suite());
srunner_set_xml(sr, "do-test.xml");
srunner_run_all (sr, CK_NORMAL);
nf = srunner_ntests_failed(sr);
srunner_free(sr);
return (nf == 0) ? 0 : 1;
}
|