Home
last modified time | relevance | path

Searched refs:subtest_num (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dprog_tests_framework.c29 if (!ASSERT_EQ(state->subtest_num, 1, "subtest_num_check")) in test_prog_tests_framework()
43 if (!ASSERT_EQ(state->subtest_num, 3, "subtest_num_check")) in test_prog_tests_framework()
53 if (!ASSERT_EQ(state->subtest_num, 4, "subtest_num_check")) in test_prog_tests_framework()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_progs.c197 int subtest_num, in should_run_subtest() argument
232 return subtest_num < subtest_sel->num_set_len && subtest_sel->num_set[subtest_num]; in should_run_subtest()
245 int subtests_cnt = test_state->subtest_num; in print_test_result()
268 static void print_subtest_name(int test_num, int subtest_num, in print_subtest_name() argument
274 snprintf(test_num_str, sizeof(test_num_str), "%d/%d", test_num, subtest_num); in print_subtest_name()
336 for (i = 0; i < test_state->subtest_num; i++) { in dump_test_log()
435 print_subtest_name(test->test_num, test_state->subtest_num, in test__end_subtest()
454 state->subtest_num++; in test__start_subtest()
457 state->subtest_num * sub_state_size); in test__start_subtest()
463 subtest_state = &state->subtest_states[state->subtest_num - 1]; in test__start_subtest()
[all …]
H A Dtest_progs.h90 int subtest_num; member
153 int subtest_num; member
H A Dtest_sockmap.c131 int subtest_num; member
164 env.subtest_num++; in test_start()
196 env.subtest_num = 0; in test_start_subtest()
211 env.test_num, env.subtest_num, in test_end_subtest()