Home
last modified time | relevance | path

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

/tools/testing/selftests/kselftest/
A Drunner.sh51 local test_num="$3"
108 echo "not ok $test_num $TEST_HDR_MSG"
126 echo "not ok $test_num $TEST_HDR_MSG"
134 echo "ok $test_num $TEST_HDR_MSG") ||
137 echo "ok $test_num $TEST_HDR_MSG # SKIP"
142 echo "not ok $test_num $TEST_HDR_MSG # exit=$rc"
155 run_one $DIR $TEST $test_num
166 echo "not ok $test_num selftests: $DIR: $BASENAME_TEST # Create NS failed"
179 test_num=0
184 test_num=$(( test_num + 1 ))
[all …]
/tools/testing/selftests/exec/
A Dbinfmt_script.py18 test_num=0 variable
47 global test_num, pass_num, fail_num, tests, NAME_MAX
48 test_num += 1
49 if test_num > tests:
51 % (test_num, tests))
84 % (test_num, name))
88 % (test_num, name))
93 % (test_num, name, proc.returncode))
97 % (test_num, name))
177 if test_num != tests:
[all …]
/tools/testing/selftests/kmod/
A 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/
A 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/
A Dsysctl.sh940 function test_num() function
954 test_num $1
962 test_num $1
970 test_num $1
978 test_num $1
1027 test_num $1
1050 test_num $TEST_ID
1070 test_num $1
1074 test_num $1
1075 test_num $2
/tools/testing/selftests/net/
A Drxtimestamp.c295 bool run_test_case(struct socket_type *s, int test_num, char ip_version, in run_test_case() argument
323 printf("Starting testcase %d over ipv%c...\n", test_num, ip_version); in run_test_case()
352 config_so_flags(rcv, test_cases[test_num].sockopt); in run_test_case()
356 failed = do_recv(rcv, read_size, test_cases[test_num].expected); in run_test_case()
362 printf("FAILURE in testcase %d over ipv%c ", test_num, in run_test_case()
364 print_test_case(&test_cases[test_num]); in run_test_case()
365 if (!strict && test_cases[test_num].warn_on_fail) in run_test_case()
/tools/testing/selftests/bpf/
A Dtest_progs.c162 int test_num; member
434 jsonw_uint_field(w, "number", test->test_num); in dump_test_log()
455 print_subtest_name(test->test_num, i + 1, in dump_test_log()
632 env.test->test_num, env.test->test_name); in test__join_cgroup()
643 env.test->test_num, env.test->test_name, path, errno); in test__join_cgroup()
650 env.test->test_num, env.test->test_name, path, errno); in test__join_cgroup()
1375 static void run_one_test(int test_num) in run_one_test() argument
1377 struct prog_test_def *test = &prog_test_defs[test_num]; in run_one_test()
1378 struct test_state *state = &test_states[test_num]; in run_one_test()
1992 test->test_num = i + 1; in main()
[all …]
A Dtest_sockmap.c131 int test_num; member
196 env.test_num++; in test_start_subtest()
212 env.test_num, env.subtest_num, in test_end_subtest()
A DREADME.rst295 #<test_num> btf_tag:SKIP
/tools/testing/kunit/
A Dkunit_parser.py779 test_num = 1
780 while parent_test and (expected_count is None or test_num <= expected_count):
790 if expected_count and test_num <= expected_count:
803 sub_test = parse_test(lines, test_num, sub_log, True, printer)
805 test_num += 1
/tools/testing/ktest/
A Dktest.pl1082 $old_test_num = $test_num;
1085 $test_num += $repeat;
1144 $test_num = $old_test_num;
1212 my $val = "$lvalue\[$test_num\]";
1231 if ($test_num) {
1243 my $val = "$lvalue\[$test_num\]";
1271 if ($test_num) {
1272 $test_num += $repeat - 1;
1273 $opt{"NUM_TESTS"} = $test_num;
1278 $$current_test_num = $test_num;
[all …]
/tools/usb/
A 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/
A Dbtf.c4397 static void do_test_raw(unsigned int test_num) in do_test_raw() argument
4469 int (*special_test)(unsigned int test_num);
4473 static int test_btf_id(unsigned int test_num);
4524 static int test_big_btf_info(unsigned int test_num) in test_big_btf_info() argument
4607 static int test_btf_id(unsigned int test_num) in test_btf_id() argument
4730 static void do_test_get_info(unsigned int test_num) in do_test_get_info() argument
4743 err = test->special_test(test_num); in do_test_get_info()
4826 static void do_test_file(unsigned int test_num) in do_test_file() argument
5459 static void do_test_pprint(int test_num) in do_test_pprint() argument
6837 static void do_test_info_raw(unsigned int test_num) in do_test_info_raw() argument
[all …]

Completed in 29 milliseconds