| /OK3568_Linux_fs/kernel/lib/kunit/ |
| H A D | debugfs.c | 41 struct kunit_case *test_case) in debugfs_print_result() argument 43 if (!test_case || !test_case->log) in debugfs_print_result() 46 seq_printf(seq, "%s", test_case->log); in debugfs_print_result() 56 struct kunit_case *test_case; in debugfs_print_results() local 63 kunit_suite_for_each_test_case(suite, test_case) in debugfs_print_results() 64 debugfs_print_result(seq, suite, test_case); in debugfs_print_results() 94 struct kunit_case *test_case; in kunit_debugfs_create_suite() local 98 kunit_suite_for_each_test_case(suite, test_case) in kunit_debugfs_create_suite() 99 test_case->log = kzalloc(KUNIT_LOG_SIZE, GFP_KERNEL); in kunit_debugfs_create_suite() 110 struct kunit_case *test_case; in kunit_debugfs_destroy_suite() local [all …]
|
| H A D | test.c | 46 struct kunit_case *test_case; in kunit_suite_num_test_cases() local 49 kunit_suite_for_each_test_case(suite, test_case) in kunit_suite_num_test_cases() 93 const struct kunit_case *test_case; in kunit_suite_has_succeeded() local 95 kunit_suite_for_each_test_case(suite, test_case) { in kunit_suite_has_succeeded() 96 if (!test_case->success) in kunit_suite_has_succeeded() 115 struct kunit_case *test_case) in kunit_test_case_num() argument 121 if (tc == test_case) in kunit_test_case_num() 229 struct kunit_case *test_case) in kunit_run_case_internal() argument 242 test_case->run_case(test); in kunit_run_case_internal() 266 struct kunit_case *test_case; member [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/kunit/ |
| H A D | kunit_parser.py | 104 def save_non_diagnositic(lines: List[str], test_case: TestCase) -> None: 106 test_case.log.append(lines[0]) 115 def parse_ok_not_ok_test_case(lines: List[str], test_case: TestCase) -> bool: 116 save_non_diagnositic(lines, test_case) 118 test_case.status = TestStatus.TEST_CRASHED 126 test_case.log.append(lines.pop(0)) 127 test_case.name = match.group(2) 128 if test_case.status == TestStatus.TEST_CRASHED: 131 test_case.status = TestStatus.SUCCESS 133 test_case.status = TestStatus.FAILURE [all …]
|
| H A D | kunit_json.py | 36 test_case = {"name": case.name, "status": "FAIL"} 38 test_case["status"] = "PASS" 40 test_case["status"] = "ERROR" 41 test_cases.append(test_case)
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/utils/ |
| H A D | test.py | 61 def getCaseModule(test_case): argument 65 return test_case.__module__ 67 def getCaseClass(test_case): argument 71 return test_case.__class__.__name__ 73 def getCaseID(test_case): argument 77 return test_case.id() 79 def getCaseFile(test_case): argument 83 return inspect.getsourcefile(test_case.__class__) 85 def getCaseMethod(test_case): argument 89 return getCaseID(test_case).split('.')[-1]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/ |
| H A D | package_manager.py | 166 def install_package(test_case): argument 170 needed_packages = test_needs_package(test_case) 172 _install_uninstall_packages(needed_packages, test_case, True) 174 def uninstall_package(test_case): argument 178 needed_packages = test_needs_package(test_case) 180 _install_uninstall_packages(needed_packages, test_case, False) 182 def test_needs_package(test_case): argument 186 test_file = getCaseFile(test_case) 190 test_method = getCaseMethod(test_case) 197 def _install_uninstall_packages(needed_packages, test_case, install=True): argument [all …]
|
| H A D | decorators.py | 105 def __init__(self, test_case): argument 106 self.test_case = test_case 112 wrapped_f.test_case = self.test_case 151 test_case = testMethod.test_case 153 test_case = self._testMethodName 180 local_log.results("Testcase "+str(test_case)+": ERROR") 181 local_log.results("Testcase "+str(test_case)+":\n"+msg) 185 local_log.results("Testcase "+str(test_case)+": FAILED") 186 local_log.results("Testcase "+str(test_case)+":\n"+msg) 190 local_log.results("Testcase "+str(test_case)+": SKIPPED") [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | core_reloc.c | 770 struct core_reloc_test_case *test_case; in test_core_reloc() local 784 test_case = &test_cases[i]; in test_core_reloc() 785 if (!test__start_subtest(test_case->case_name)) in test_core_reloc() 788 if (test_case->setup) { in test_core_reloc() 789 err = test_case->setup(test_case); in test_core_reloc() 794 obj = bpf_object__open_file(test_case->bpf_obj_file, NULL); in test_core_reloc() 796 test_case->bpf_obj_file, PTR_ERR(obj))) in test_core_reloc() 800 if (test_case->direct_raw_tp) { in test_core_reloc() 814 if (test_case->btf_src_file) { in test_core_reloc() 815 err = access(test_case->btf_src_file, R_OK); in test_core_reloc() [all …]
|
| H A D | core_extern.c | 23 static struct test_case { struct 130 struct test_case *t = &test_cases[i]; in test_core_extern()
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | test_map_in_map_kern.c | 110 u16 test_case, port, dst6[8]; in trace_sys_connect() local 131 test_case = dst6[7]; in trace_sys_connect() 142 if (test_case == 0) { in trace_sys_connect() 144 } else if (test_case == 1) { in trace_sys_connect() 146 } else if (test_case == 2) { in trace_sys_connect() 163 if (test_case == 0 || test_case == 1) in trace_sys_connect()
|
| H A D | map_perf_test_kern.c | 179 u16 test_case; in SYSCALL() local 199 test_case = test_params.tcase; in SYSCALL() 200 if (test_case != 3) in SYSCALL() 203 if (test_case == 0) { in SYSCALL() 205 } else if (test_case == 1) { in SYSCALL() 208 } else if (test_case == 2) { in SYSCALL() 221 } else if (test_case == 3) { in SYSCALL()
|
| /OK3568_Linux_fs/kernel/tools/testing/vsock/ |
| H A D | util.h | 24 struct test_case { struct 44 void run_tests(const struct test_case *test_cases, argument 46 void list_tests(const struct test_case *test_cases); 47 void skip_test(struct test_case *test_cases, size_t test_cases_len,
|
| H A D | util.c | 295 void run_tests(const struct test_case *test_cases, in run_tests() 343 void list_tests(const struct test_case *test_cases) in list_tests() 355 void skip_test(struct test_case *test_cases, size_t test_cases_len, in skip_test()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_kmod.c | 84 enum kmod_test_case test_case; member 147 static const char *test_case_str(enum kmod_test_case test_case) in test_case_str() argument 149 switch (test_case) { in test_case_str() 203 switch (config->test_case) { in test_kmod_put_module() 223 switch (config->test_case) { in run_request() 255 switch (config->test_case) { in tally_work_test() 430 test_case_str(config->test_case), in run_test_driver() 431 config->test_case); in run_test_driver() 447 test_case_str(config->test_case), in run_test_fs_type() 448 config->test_case); in run_test_fs_type() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/ |
| H A D | cmd_disp_test.c | 53 u8 test_case; member 113 if(disp_test_ctx.test_case == DISP_TEST_CMD_TOKEN_REQ) { in test_req_acquired() 136 if(disp_test_ctx.test_case == DISP_TEST_CMD_TOKEN_REQ) { in test_req_abort() 151 if(disp_test_ctx.test_case == DISP_TEST_CMD_TOKEN_REQ) { in test_req_msg_hdlr() 174 if(disp_test_ctx.test_case == DISP_TEST_INIT) in test_mdl_init() 180 if(disp_test_ctx.test_case == DISP_TEST_INIT) in test_mdl_deinit() 186 if(disp_test_ctx.test_case == DISP_TEST_INIT) in test_mdl_start() 192 if(disp_test_ctx.test_case == DISP_TEST_INIT) in test_mdl_stop() 200 if(disp_test_ctx.test_case == DISP_TEST_SEND_MSG && in test_mdl_msg_hdlr() 220 if(disp_test_ctx.test_case == DISP_TEST_CMD_TOKEN_REQ) { in test_mdl_msg_hdlr() [all …]
|
| H A D | cmd_disp_test.h | 21 void phl_cmd_disp_test_start(void* phl_info, u8 test_case);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/ |
| H A D | cmd_disp_test.c | 53 u8 test_case; member 113 if(disp_test_ctx.test_case == DISP_TEST_CMD_TOKEN_REQ) { in test_req_acquired() 136 if(disp_test_ctx.test_case == DISP_TEST_CMD_TOKEN_REQ) { in test_req_abort() 151 if(disp_test_ctx.test_case == DISP_TEST_CMD_TOKEN_REQ) { in test_req_msg_hdlr() 174 if(disp_test_ctx.test_case == DISP_TEST_INIT) in test_mdl_init() 180 if(disp_test_ctx.test_case == DISP_TEST_INIT) in test_mdl_deinit() 186 if(disp_test_ctx.test_case == DISP_TEST_INIT) in test_mdl_start() 192 if(disp_test_ctx.test_case == DISP_TEST_INIT) in test_mdl_stop() 200 if(disp_test_ctx.test_case == DISP_TEST_SEND_MSG && in test_mdl_msg_hdlr() 220 if(disp_test_ctx.test_case == DISP_TEST_CMD_TOKEN_REQ) { in test_mdl_msg_hdlr() [all …]
|
| H A D | cmd_disp_test.h | 21 void phl_cmd_disp_test_start(void* phl_info, u8 test_case);
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kmod/ |
| H A D | kmod.sh | 600 test_case $TEST_ID $TEST_COUNT 631 function test_case() function 661 test_case $1 $(get_test_count $1) 666 test_case $1 $2 669 test_case $1 1
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/sysctl/ |
| H A D | sysctl.sh | 880 test_case $TEST_ID $TEST_COUNT $TEST_TARGET 911 function test_case() function 943 test_case $1 $(get_test_count $1) $(get_test_target $1) 948 test_case $1 $2 $(get_test_target $1) 951 test_case $1 1 $(get_test_target $1)
|
| /OK3568_Linux_fs/kernel/net/mptcp/ |
| H A D | crypto_test.c | 6 struct test_case { struct 15 static struct test_case tests[] = { argument
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | rxtimestamp.c | 43 struct test_case { struct 68 static struct test_case test_cases[] = { argument 128 void print_test_case(struct test_case *t) in print_test_case()
|
| /OK3568_Linux_fs/kernel/include/kunit/ |
| H A D | test.h | 240 struct kunit_case *test_case); 318 #define kunit_suite_for_each_test_case(suite, test_case) \ argument 319 for (test_case = suite->test_cases; test_case->run_case; test_case++)
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_la_mode.c | 1726 u32 test_case = 0; in halbb_la_cmd_rtl_test() local 1729 test_case = var[0]; in halbb_la_cmd_rtl_test() 1732 "RTL_test_case=%d\n", test_case); in halbb_la_cmd_rtl_test() 1752 if (test_case == 0) { in halbb_la_cmd_rtl_test() 1768 } else if (test_case == 1) { in halbb_la_cmd_rtl_test() 1786 } else if (test_case == 2) { /*EVM > 35*/ in halbb_la_cmd_rtl_test() 1806 } else if (test_case == 3) { /*CFO < 1/32 carrier spacing*/ in halbb_la_cmd_rtl_test() 1826 } else if (test_case == 4) { /*rx_rate = HE 2SS MCS7*/ in halbb_la_cmd_rtl_test() 1844 } else if (test_case == 5) { /*state = CCK CCA*/ in halbb_la_cmd_rtl_test() 1861 } else if (test_case == 6) { /*state = bfmx_csi_standby*/ in halbb_la_cmd_rtl_test() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_la_mode.c | 1726 u32 test_case = 0; in halbb_la_cmd_rtl_test() local 1729 test_case = var[0]; in halbb_la_cmd_rtl_test() 1732 "RTL_test_case=%d\n", test_case); in halbb_la_cmd_rtl_test() 1752 if (test_case == 0) { in halbb_la_cmd_rtl_test() 1768 } else if (test_case == 1) { in halbb_la_cmd_rtl_test() 1786 } else if (test_case == 2) { /*EVM > 35*/ in halbb_la_cmd_rtl_test() 1806 } else if (test_case == 3) { /*CFO < 1/32 carrier spacing*/ in halbb_la_cmd_rtl_test() 1826 } else if (test_case == 4) { /*rx_rate = HE 2SS MCS7*/ in halbb_la_cmd_rtl_test() 1844 } else if (test_case == 5) { /*state = CCK CCA*/ in halbb_la_cmd_rtl_test() 1861 } else if (test_case == 6) { /*state = bfmx_csi_standby*/ in halbb_la_cmd_rtl_test() [all …]
|