Home | History | Annotate | Download | only in tests

Lines Matching refs:result

40 		memset(&tests[i].result, 0, sizeof(tests[i].result));
41 tests[i].test_func(&tests[i].result);
43 tests[i].result.pass, tests[i].result.test_count);
44 if (tests[i].result.pass != tests[i].result.test_count) {
51 void test_begin(struct test_result * result)
53 result->test_count++;
56 void test_check(struct test_result * result, int cond)
58 printf("Subtest %u -> ", result->test_count);
60 result->pass++;
63 result->fail++;