tupperware/tests/testsuite.c

14 lines
306 B
C
Raw Normal View History

2020-11-15 15:50:36 +01:00
#include <criterion/criterion.h>
int main(int argc, char *argv[]) {
struct criterion_test_set *tests = criterion_initialize();
int result = 0;
if (criterion_handle_args(argc, argv, true))
result = !criterion_run_all_tests(tests);
criterion_finalize(tests);
return result;
}