Lines Matching refs:test_num
138 int test_num; member
235 static void print_test_name(int test_num, const char *test_name, char *result) in print_test_name() argument
237 fprintf(env.stdout, "#%-*d %s", TEST_NUM_WIDTH, test_num, test_name); in print_test_name()
245 static void print_subtest_name(int test_num, int subtest_num, in print_subtest_name() argument
251 snprintf(test_num_str, sizeof(test_num_str), "%d/%d", test_num, subtest_num); in print_subtest_name()
304 print_subtest_name(test->test_num, i + 1, in dump_test_log()
310 print_test_name(test->test_num, test->test_name, in dump_test_log()
376 print_subtest_name(test->test_num, test_state->subtest_num, in test__end_subtest()
467 env.test->test_num, env.test->test_name); in test__join_cgroup()
478 env.test->test_num, env.test->test_name, path, errno); in test__join_cgroup()
485 env.test->test_num, env.test->test_name, path, errno); in test__join_cgroup()
1051 static void run_one_test(int test_num) in run_one_test() argument
1053 struct prog_test_def *test = &prog_test_defs[test_num]; in run_one_test()
1054 struct test_state *state = &test_states[test_num]; in run_one_test()
1073 print_test_name(test_num + 1, test->test_name, in run_one_test()
1623 test->test_num = i + 1; in main()
1625 test->test_num, test->test_name); in main()
1630 test->test_num, test->test_name, test->test_name, test->test_name); in main()