Home
last modified time | relevance | path

Searched refs:test_num (Results 1 – 13 of 13) sorted by relevance

/tools/testing/selftests/kselftest/
Drunner.sh107 echo "not ok $test_num $TEST_HDR_MSG"
122 echo "not ok $test_num $TEST_HDR_MSG"
130 echo "ok $test_num $TEST_HDR_MSG") ||
133 echo "ok $test_num $TEST_HDR_MSG # SKIP"
136 echo "not ok $test_num $TEST_HDR_MSG # TIMEOUT $kselftest_timeout seconds"
138 echo "not ok $test_num $TEST_HDR_MSG # exit=$rc"
148 test_num=0
153 test_num=$(( test_num + 1 ))
158 run_one "$DIR" "$TEST" "$test_num"
/tools/testing/selftests/exec/
Dbinfmt_script.py18 test_num=0 variable
45 global test_num, tests, NAME_MAX
46 test_num += 1
47 if test_num > tests:
49 % (test_num, tests))
82 % (test_num, name))
85 % (test_num, name))
89 % (test_num, name, proc.returncode))
92 % (test_num, name))
169 if test_num != tests:
[all …]
/tools/testing/selftests/kmod/
Dkmod.sh554 function test_num() function
564 test_num $1
609 test_num $1
629 test_num $1
649 test_num $1
653 test_num $1
654 test_num $2
/tools/testing/selftests/arm64/bti/
Dtest.c24 static volatile unsigned int test_num = 1; variable
90 putnum(test_num); in handler()
134 putnum(test_num++); in __do_test()
222 if (test_num - 1 != EXPECTED_TESTS) in start()
/tools/testing/selftests/sysctl/
Dsysctl.sh886 function test_num() function
900 test_num $1
908 test_num $1
916 test_num $1
924 test_num $1
973 test_num $1
996 test_num $TEST_ID
1016 test_num $1
1020 test_num $1
1021 test_num $2
/tools/testing/selftests/net/
Drxtimestamp.c277 bool run_test_case(struct socket_type *s, int test_num, char ip_version, in run_test_case() argument
305 printf("Starting testcase %d over ipv%c...\n", test_num, ip_version); in run_test_case()
334 config_so_flags(rcv, test_cases[test_num].sockopt); in run_test_case()
338 failed = do_recv(rcv, read_size, test_cases[test_num].expected); in run_test_case()
344 printf("FAILURE in testcase %d over ipv%c ", test_num, in run_test_case()
346 print_test_case(&test_cases[test_num]); in run_test_case()
347 if (!strict && test_cases[test_num].warn_on_fail) in run_test_case()
/tools/testing/selftests/bpf/
Dtest_progs.c139 int test_num; member
233 fprintf(env.stdout, "#%-*d %s:", TEST_NUM_WIDTH, test->test_num, test->test_name); in print_test_result()
254 static void print_subtest_name(int test_num, int subtest_num, in print_subtest_name() argument
260 snprintf(test_num_str, sizeof(test_num_str), "%d/%d", test_num, subtest_num); in print_subtest_name()
315 jsonw_uint_field(w, "number", test->test_num); in dump_test_log()
336 print_subtest_name(test->test_num, i + 1, in dump_test_log()
421 print_subtest_name(test->test_num, test_state->subtest_num, in test__end_subtest()
512 env.test->test_num, env.test->test_name); in test__join_cgroup()
523 env.test->test_num, env.test->test_name, path, errno); in test__join_cgroup()
530 env.test->test_num, env.test->test_name, path, errno); in test__join_cgroup()
[all …]
Dtest_sockmap.c124 int test_num; member
189 env.test_num++; in test_start_subtest()
205 env.test_num, env.subtest_num, in test_end_subtest()
DREADME.rst265 #<test_num> btf_tag:SKIP
/tools/testing/kunit/
Dkunit_parser.py746 test_num = 1
747 while parent_test and (expected_count is None or test_num <= expected_count):
757 if expected_count and test_num <= expected_count:
770 sub_test = parse_test(lines, test_num, sub_log, True)
772 test_num += 1
/tools/testing/ktest/
Dktest.pl1023 my $test_num = $$current_test_num;
1057 $old_test_num = $test_num;
1060 $test_num += $repeat;
1104 $repeat_tests{"$test_num"} = $repeat;
1119 $test_num = $old_test_num;
1173 if (__read_config($file, \$test_num)) {
1187 my $val = "$lvalue\[$test_num\]";
1206 if ($test_num) {
1218 my $val = "$lvalue\[$test_num\]";
1246 if ($test_num) {
[all …]
/tools/usb/
Dtestusb.c44 unsigned test_num; /* 0..(TEST_CASES-1) */ member
314 dev->param.test_num = i; in handle_testdev()
/tools/testing/selftests/bpf/prog_tests/
Dbtf.c4322 static void do_test_raw(unsigned int test_num) in do_test_raw() argument
4324 struct btf_raw_test *test = &raw_tests[test_num - 1]; in do_test_raw()
4391 int (*special_test)(unsigned int test_num);
4394 static int test_big_btf_info(unsigned int test_num);
4395 static int test_btf_id(unsigned int test_num);
4446 static int test_big_btf_info(unsigned int test_num) in test_big_btf_info() argument
4448 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in test_big_btf_info()
4529 static int test_btf_id(unsigned int test_num) in test_btf_id() argument
4531 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in test_btf_id()
4652 static void do_test_get_info(unsigned int test_num) in do_test_get_info() argument
[all …]