Home
last modified time | relevance | path

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

/linux-6.6.21/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"
/linux-6.6.21/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 …]
/linux-6.6.21/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
/linux-6.6.21/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
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireguard/selftest/
Dcounter.c10 unsigned int test_num = 0, i; in wg_packet_counter_selftest() local
25 ++test_num; \ in wg_packet_counter_selftest()
28 test_num); \ in wg_packet_counter_selftest()
/linux-6.6.21/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
/linux-6.6.21/drivers/platform/x86/intel/ifs/
Dcore.c31 .test_num = IFS_TYPE_SAF,
36 .test_num = IFS_TYPE_ARRAY_BIST,
Difs.h220 int test_num; member
Druntest.c331 switch (test->test_num) { in do_core_test()
Dload.c268 test->test_num, boot_cpu_data.x86, boot_cpu_data.x86_model, in ifs_load_firmware()
/linux-6.6.21/drivers/video/fbdev/omap/
Domapfb.h88 int (*run_test) (struct lcd_panel *panel, int test_num);
174 int (*run_test) (int test_num);
Dlcd_mipid.c273 static int mipid_run_test(struct lcd_panel *panel, int test_num) in mipid_run_test() argument
281 if (test_num != MIPID_TEST_RGB_LINES) in mipid_run_test()
Domapfb_main.c1165 int test_num; in omapfb_ioctl() local
1167 if (get_user(test_num, (int __user *)arg)) { in omapfb_ioctl()
1175 r = fbdev->panel->run_test(fbdev->panel, test_num); in omapfb_ioctl()
1180 int test_num; in omapfb_ioctl() local
1182 if (get_user(test_num, (int __user *)arg)) { in omapfb_ioctl()
1190 r = fbdev->ctrl->run_test(test_num); in omapfb_ioctl()
/linux-6.6.21/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
/linux-6.6.21/tools/testing/ktest/
Dktest.pl1022 my $test_num = $$current_test_num;
1056 $old_test_num = $test_num;
1059 $test_num += $repeat;
1103 $repeat_tests{"$test_num"} = $repeat;
1118 $test_num = $old_test_num;
1172 if (__read_config($file, \$test_num)) {
1186 my $val = "$lvalue\[$test_num\]";
1205 if ($test_num) {
1217 my $val = "$lvalue\[$test_num\]";
1245 if ($test_num) {
[all …]
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/
Domapfb-ioctl.c588 int test_num; in omapfb_ioctl() member
796 if (get_user(p.test_num, (int __user *)arg)) { in omapfb_ioctl()
805 r = display->driver->run_test(display, p.test_num); in omapfb_ioctl()
811 if (get_user(p.test_num, (int __user *)arg)) { in omapfb_ioctl()
820 r = display->driver->run_test(display, p.test_num); in omapfb_ioctl()
/linux-6.6.21/tools/usb/
Dtestusb.c44 unsigned test_num; /* 0..(TEST_CASES-1) */ member
314 dev->param.test_num = i; in handle_testdev()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/usb/misc/
Dusbtest.c30 __u32 test_num; /* 0..(TEST_CASES-1) */ member
47 __u32 test_num; /* 0..(TEST_CASES-1) */ member
2203 switch (param->test_num) { in usbtest_do_ioctl()
2699 temp.test_num = param_64->test_num; in usbtest_ioctl()
/linux-6.6.21/drivers/pci/hotplug/
Dcpqphp.h410 int cpqhp_hardware_test(struct controller *ctrl, int test_num);
Dcpqphp_ctrl.c2125 int cpqhp_hardware_test(struct controller *ctrl, int test_num) in cpqhp_hardware_test() argument
2134 switch (test_num) { in cpqhp_hardware_test()