Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/socket/register/src/
Dmain.c18 struct test_case { struct
25 struct test_case test_case; argument
31 .test_case.family = AF_INET,
32 .test_case.type = SOCK_DGRAM,
33 .test_case.proto = IPPROTO_UDP,
38 .test_case.family = AF_INET6,
39 .test_case.type = SOCK_DGRAM,
40 .test_case.proto = IPPROTO_UDP,
46 .test_case.family = AF_UNSPEC,
47 .test_case.type = 0,
[all …]
/Zephyr-latest/scripts/west_commands/tests/
Dtest_mdb.py203 def test_flash_nsim(require, cc, test_case, mdb_nsim): argument
204 mdb_nsim(test_case['i']).run('flash')
206 cc.assert_called_once_with(test_case['o'], cwd=RC_BUILD_DIR)
211 def test_debug_nsim(require, pii, test_case, mdb_nsim): argument
212 mdb_nsim(test_case['i']).run('debug')
214 pii.assert_called_once_with(test_case['o'], cwd=RC_BUILD_DIR)
220 def test_multicores_nsim(require, pii, cc, test_case, mdb_nsim): argument
221 mdb_nsim(test_case).run('flash')
232 def test_flash_hw_no_hl(require, cc, test_case, mdb_hw_no_hl, tmpdir): argument
233 mdb_hw_no_hl(test_case['i']).run('flash')
[all …]
Dtest_twister.py39 def test_parse_remainder(test_case): argument
48 options = twister._parse_arguments(args=test_case["r"], options=None)
50 assert options.clobber_output == test_case["c"]
51 assert options.test_only == test_case["test_only"]
52 if "T" in test_case:
53 assert options.testsuite_root == test_case["T"]
Dtest_nrf.py468 def id_fn(test_case): argument
469 if test_case.coprocessor is None:
473 s = 'soft_reset' if test_case.softreset else 'pin_reset'
474 sn = 'default_snr' if test_case.snr else 'override_snr'
475 e = 'chip_erase' if test_case.erase else 'sector[anduicr]_erase'
476 r = 'recover' if test_case.recover else 'no_recover'
477 t = 'tool_opt' if test_case.tool_opt else 'no_tool_opt'
481 def fix_up_runner_config(test_case, runner_config, tmpdir): argument
498 if test_case.family != 'NRF53_FAMILY':
501 if test_case.coprocessor == 'APP':
[all …]
Dtest_build.py51 def test_parse_remainder(test_case): argument
55 b._parse_remainder(test_case['r'])
56 assert b.args.source_dir == test_case['s']
57 assert b.args.cmake_opts == test_case['c']
Dtest_canopen_program.py46 def test_canopen_program_create(cpd, test_case, runner_config): argument
48 …, confirm_only, timeout, sdo_retries, sdo_timeout, download_buffer_size, block_transfer = test_case
/Zephyr-latest/tests/net/lib/lwm2m/content_link_format/src/
Dmain.c192 struct test_case_corelink test_case[] = { in ZTEST() local
226 for (i = 0; i < ARRAY_SIZE(test_case); i++) { in ZTEST()
230 test_formatter_data.request_level = test_case[i].request_level; in ZTEST()
231 test_path.level = test_case[i].path_level; in ZTEST()
234 zassert_equal(ret, strlen(test_case[i].expected_payload), in ZTEST()
237 test_case[i].expected_payload, in ZTEST()
238 strlen(test_case[i].expected_payload), in ZTEST()
241 strlen(test_case[i].expected_payload), in ZTEST()
250 struct test_case_corelink test_case[] = { in ZTEST() local
273 for (i = 0; i < ARRAY_SIZE(test_case); i++) { in ZTEST()
[all …]
/Zephyr-latest/tests/subsys/llext/src/
Dtest_llext.c122 void load_call_unload(const struct llext_test *test_case) in load_call_unload() argument
125 LLEXT_BUF_LOADER(test_case->buf, test_case->buf_len); in load_call_unload()
130 int res = llext_load(loader, test_case->name, &ext, &ldr_parm); in load_call_unload()
173 if (test_case->test_setup) { in load_call_unload()
174 test_case->test_setup(ext, &llext_thread); in load_call_unload()
180 if (test_case->test_cleanup) { in load_call_unload()
181 test_case->test_cleanup(ext); in load_call_unload()
188 if (!test_case->kernel_only) { in load_call_unload()
197 if (test_case->test_setup) { in load_call_unload()
198 test_case->test_setup(ext, &llext_thread); in load_call_unload()
[all …]
/Zephyr-latest/scripts/ci/coverage/
Dcoverage_analysis.py88 test_case = {
103 test_suite['test_cases'].append(test_case)
130 test_case = {
145 test_suite['test_cases'].append(test_case)
167 test_case = {
182 test_suite['test_cases'].append(test_case)
198 test_case = {}
203 test_case = i_testcase
207 test_case = {
210 test_suite['test_cases'].append(test_case)
/Zephyr-latest/scripts/tests/twister_blackbox/test_data/tests/pytest/pytest/
Dtest_sample.py23 def test_case(cmdopt): function
/Zephyr-latest/samples/subsys/testsuite/pytest/basic/pytest/
Dtest_sample.py23 def test_case(cmdopt): function
/Zephyr-latest/tests/subsys/testsuite/fff_fake_contexts/src/
Dmain.c65 struct test_case { in ZTEST() struct
251 const struct test_case * const tc = &test_cases[i]; in ZTEST()
/Zephyr-latest/tests/net/lib/dns_packet/src/
Dmain.c1089 static void run_dns_malformed_response(const char *test_case, in run_dns_malformed_response() argument
1126 test_case, ret); in run_dns_malformed_response()
1129 static void run_dns_valid_response(const char *test_case, in run_dns_valid_response() argument
1144 test_case, ret); in run_dns_valid_response()
1155 static void run_dns_valid_cname_response(const char *test_case, in run_dns_valid_cname_response() argument
1193 test_case, ret); in run_dns_valid_cname_response()