Home
last modified time | relevance | path

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

12345678910>>...34

/Zephyr-Core-3.7.0/tests/arch/riscv/fpu_sharing/src/
Dmain.c48 zassert_true(fpu_is_dirty()); in ZTEST()
51 zassert_true(k_float_disable(k_current_get()) == 0); in ZTEST()
52 zassert_true(fpu_is_off()); in ZTEST()
58 zassert_true(fpu_is_clean()); in ZTEST()
61 zassert_true(val == 42, "got %d instead", val); in ZTEST()
73 zassert_true(fpu_is_off(), "FPU not off when starting thread %s", name); in new_thread_check()
90 zassert_true(fpu_is_clean(), "FPU not clean after read"); in new_thread_check()
93 zassert_true(val == 0, "got %d instead", val); in new_thread_check()
115 zassert_true(fpu_is_clean()); in thread1_entry()
117 zassert_true(fpu_is_clean()); in thread1_entry()
[all …]
/Zephyr-Core-3.7.0/tests/kernel/common/src/
Datomic.c119 zassert_true(atomic_cas(&target, oldvalue, value), "atomic_cas"); in ZTEST_USER()
120 zassert_true((target == value), "atomic_cas"); in ZTEST_USER()
129 zassert_true(atomic_ptr_cas(&ptr_target, old_ptr_value, ptr_value), in ZTEST_USER()
131 zassert_true((ptr_target == ptr_value), "atomic_ptr_cas"); in ZTEST_USER()
136 zassert_true((atomic_add(&target, value) == 1), "atomic_add"); in ZTEST_USER()
137 zassert_true((target == 3), "atomic_add"); in ZTEST_USER()
141 zassert_true((atomic_add(&target, value) == 2), "atomic_add"); in ZTEST_USER()
142 zassert_true((target == -2), "atomic_add"); in ZTEST_USER()
147 zassert_true((atomic_sub(&target, value) == 10), "atomic_sub"); in ZTEST_USER()
148 zassert_true((target == 8), "atomic_sub"); in ZTEST_USER()
[all …]
/Zephyr-Core-3.7.0/tests/kernel/usage/thread_runtime_stats/src/
Dtest_thread_runtime_stats.c108 zassert_true(stats2.execution_cycles > stats1.execution_cycles); in ZTEST()
109 zassert_true(stats3.execution_cycles > stats2.execution_cycles); in ZTEST()
110 zassert_true(stats1.execution_cycles == stats1.total_cycles); in ZTEST()
111 zassert_true(stats2.execution_cycles == stats2.total_cycles); in ZTEST()
112 zassert_true(stats3.execution_cycles == stats3.total_cycles); in ZTEST()
114 zassert_true(stats1.idle_cycles == stats2.idle_cycles); in ZTEST()
115 zassert_true(stats1.idle_cycles == stats3.idle_cycles); in ZTEST()
129 zassert_true(stats2.current_cycles > stats1.current_cycles); in ZTEST()
130 zassert_true(stats3.current_cycles > stats2.current_cycles); in ZTEST()
132 zassert_true(stats1.peak_cycles == stats1.current_cycles); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/subsys/fs/fcb/src/
Dfcb_test_reset.c23 zassert_true(rc == 0, "fcb_walk call failure"); in ZTEST()
24 zassert_true(var_cnt == 0, in ZTEST()
28 zassert_true(rc == 0, "fcb_append call failure"); in ZTEST()
35 zassert_true(rc == 0, "fcb_walk call failure"); in ZTEST()
36 zassert_true(var_cnt == 0, in ZTEST()
44 zassert_true(rc == 0, "flash_area_write call failure"); in ZTEST()
47 zassert_true(rc == 0, "fcb_append_finish call failure"); in ZTEST()
54 zassert_true(rc == 0, "fcb_walk call failure"); in ZTEST()
55 zassert_true(var_cnt == 33, in ZTEST()
66 zassert_true(rc == 0, "fcb_init call failure"); in ZTEST()
[all …]
Dfcb_test_rotate.c27 zassert_true(rc == 0, "fcb_rotate call failure"); in ZTEST()
28 zassert_true(fcb->f_active_id == old_id + 1, in ZTEST()
44 zassert_true(0, in ZTEST()
50 zassert_true(rc == 0, "flash_area_write call failure"); in ZTEST()
53 zassert_true(rc == 0, "fcb_append_finish call failure"); in ZTEST()
55 zassert_true(elem_cnts[0] > 0 && elem_cnts[0] == elem_cnts[1], in ZTEST()
60 zassert_true(rc == 0, "fcb_rotate call failure"); in ZTEST()
61 zassert_true(fcb->f_active_id == old_id, in ZTEST()
66 zassert_true(rc == 0, "fcb_walk call failure"); in ZTEST()
67 zassert_true(aa_arg.elem_cnts[0] == elem_cnts[0] || in ZTEST()
[all …]
Dfcb_test_multiple_scratch.c41 zassert_true(rc == 0, "flash_area_write call failure"); in ZTEST()
44 zassert_true(rc == 0, "fcb_append_finish call failure"); in ZTEST()
47 zassert_true(elem_cnts[0] > 0, "unexpected entry number was appended"); in ZTEST()
48 zassert_true(elem_cnts[0] == elem_cnts[1] && in ZTEST()
51 zassert_true(elem_cnts[3] == 0, "unexpected entry number was appended"); in ZTEST()
57 zassert_true(rc == 0, "fcb_append_to_scratch call failure"); in ZTEST()
69 zassert_true(rc == 0, "flash_area_write call failure"); in ZTEST()
72 zassert_true(rc == 0, "fcb_append_finish call failure"); in ZTEST()
74 zassert_true(elem_cnts[3] == elem_cnts[0], in ZTEST()
81 zassert_true(rc == 0, "fcb_rotate call failure"); in ZTEST()
[all …]
Dfcb_test_append_fill.c43 zassert_true(0, in ZTEST()
49 zassert_true(rc == 0, "flash_area_write call failure"); in ZTEST()
52 zassert_true(rc == 0, "fcb_append_finish call failure"); in ZTEST()
54 zassert_true(elem_cnts[0] > 0, in ZTEST()
56 zassert_true(elem_cnts[0] == elem_cnts[1], in ZTEST()
61 zassert_true(rc == 0, "fcb_walk call failure"); in ZTEST()
62 zassert_true(aa_together.elem_cnts[0] == elem_cnts[0], in ZTEST()
64 zassert_true(aa_together.elem_cnts[1] == elem_cnts[1], in ZTEST()
70 zassert_true(rc == 0, "fcb_walk call failure"); in ZTEST()
73 zassert_true(rc == 0, "fcb_walk call failure"); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/lib/sprintf/src/
Dmain.c124 zassert_true((strcmp(buffer, "inf") == 0), in ZTEST()
128 zassert_true((strcmp(buffer, "INF") == 0), in ZTEST()
132 zassert_true((strcmp(buffer, "inf") == 0), in ZTEST()
136 zassert_true((strcmp(buffer, "INF") == 0), in ZTEST()
140 zassert_true((strcmp(buffer, "inf") == 0), in ZTEST()
144 zassert_true((strcmp(buffer, "INF") == 0), in ZTEST()
150 zassert_true((strcmp(buffer, "-inf") == 0), in ZTEST()
154 zassert_true((strcmp(buffer, "-INF") == 0), in ZTEST()
158 zassert_true((strcmp(buffer, "-inf") == 0), in ZTEST()
162 zassert_true((strcmp(buffer, "-INF") == 0), in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/net/lib/lwm2m/lwm2m_rd_client/src/
Dmain.c210 zassert_true(lwm2m_rd_client_start(&ctx, "Test", 0, lwm2m_event_cb, lwm2m_observe_cb) == 0, in ZTEST()
214 zassert_true(expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE), in ZTEST()
216 zassert_true(lwm2m_rd_client_is_registred(&ctx), NULL); in ZTEST()
219 zassert_true(lwm2m_rd_client_stop(&ctx, lwm2m_event_cb, true) == 0, NULL); in ZTEST()
220 zassert_true(expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_DEREGISTER), NULL); in ZTEST()
221 zassert_true(expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_DISCONNECT), NULL); in ZTEST()
222 zassert_true(!lwm2m_rd_client_is_registred(&ctx), NULL); in ZTEST()
239 zassert_true(lwm2m_rd_client_start(&ctx, "Test", 0, lwm2m_event_cb, lwm2m_observe_cb) == 0, in ZTEST()
243 zassert_true(expect_lwm2m_rd_client_event(LWM2M_RD_CLIENT_EVENT_REGISTRATION_COMPLETE), in ZTEST()
258 zassert_true(lwm2m_rd_client_start(&ctx, "Test", 0, lwm2m_event_cb, lwm2m_observe_cb) == 0, in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/kernel/timer/timepoints/src/
Dmain.c17 zassert_true(sys_timepoint_expired(timepoint)); in ZTEST()
19 zassert_true(K_TIMEOUT_EQ(remaining, K_NO_WAIT)); in ZTEST()
25 zassert_true(K_TIMEOUT_EQ(remaining, K_FOREVER)); in ZTEST()
31 zassert_true(remaining.ticks <= timeout.ticks && remaining.ticks != 0); in ZTEST()
33 zassert_true(sys_timepoint_expired(timepoint)); in ZTEST()
35 zassert_true(K_TIMEOUT_EQ(remaining, K_NO_WAIT)); in ZTEST()
44 zassert_true(sys_timepoint_cmp(a, b) == 0); in ZTEST()
45 zassert_true(sys_timepoint_cmp(b, a) == 0); in ZTEST()
49 zassert_true(sys_timepoint_cmp(a, b) == 0); in ZTEST()
50 zassert_true(sys_timepoint_cmp(b, a) == 0); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/unit/winstream/
Dmain.c31 zassert_true(bytes == 1, ""); in ZTEST()
32 zassert_true(seq == 1, ""); in ZTEST()
33 zassert_true(c == 'a', ""); in ZTEST()
37 zassert_true(bytes == 0, ""); in ZTEST()
38 zassert_true(seq == 1, ""); in ZTEST()
42 zassert_true(ws->seq == 1 + strlen(msg), ""); in ZTEST()
43 zassert_true(ws->start == 1, ""); in ZTEST()
44 zassert_true(ws->end == 0, ""); in ZTEST()
53 zassert_true(seq == ws->seq, ""); in ZTEST()
54 zassert_true(bytes == 0, ""); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/kconfig/configdefault/src/
Dmain.c15 zassert_true(IS_ENABLED(CONFIG_DEP_Y), ""); in ZTEST()
18 zassert_true(IS_ENABLED(CONFIG_SYM_Y_1), ""); in ZTEST()
19 zassert_true(IS_ENABLED(CONFIG_SYM_Y_2), ""); in ZTEST()
20 zassert_true(IS_ENABLED(CONFIG_SYM_Y_3), ""); in ZTEST()
21 zassert_true(IS_ENABLED(CONFIG_SYM_Y_4), ""); in ZTEST()
22 zassert_true(IS_ENABLED(CONFIG_SYM_Y_5), ""); in ZTEST()
23 zassert_true(IS_ENABLED(CONFIG_SYM_Y_6), ""); in ZTEST()
24 zassert_true(IS_ENABLED(CONFIG_SYM_Y_7), ""); in ZTEST()
25 zassert_true(IS_ENABLED(CONFIG_SYM_Y_8), ""); in ZTEST()
26 zassert_true(IS_ENABLED(CONFIG_SYM_Y_9), ""); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/subsys/modem/modem_cmux/src/
Dmain.c338 zassert_true(ret == (sizeof(cmux_frame_data_dlci2_at_cgdcont) + in ZTEST()
342 zassert_true(memcmp(buffer2, cmux_frame_data_dlci2_at_cgdcont, in ZTEST()
346 zassert_true(memcmp(&buffer2[sizeof(cmux_frame_data_dlci2_at_cgdcont)], in ZTEST()
368 zassert_true(ret == (sizeof(cmux_frame_data_dlci1_at_at) + in ZTEST()
372 zassert_true(memcmp(buffer1, cmux_frame_data_dlci1_at_at, in ZTEST()
376 zassert_true(memcmp(&buffer1[sizeof(cmux_frame_data_dlci1_at_at)], in ZTEST()
397 zassert_true(ret == (sizeof(cmux_frame_data_dlci2_ppp_52) + in ZTEST()
401 zassert_true(memcmp(buffer2, cmux_frame_data_dlci2_ppp_52, in ZTEST()
405 zassert_true(memcmp(&buffer2[sizeof(cmux_frame_data_dlci2_ppp_52)], in ZTEST()
418 zassert_true(ret == sizeof(cmux_frame_data_dlci2_ppp_52), "Failed to send DLCI2 PPP 52"); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v1/src/
Dmutex.c26 zassert_true(status == osOK, "Mutex delete fail"); in cleanup_max_mutex()
39 zassert_true(mutex_ids[mtx_cnt] == NULL, in test_max_mutex()
43 zassert_true(mutex_ids[mtx_cnt] != NULL, in test_max_mutex()
56 zassert_true(status == osErrorParameter, in ZTEST()
60 zassert_true(mutex_id != NULL, "Mutex1 creation failed"); in ZTEST()
64 zassert_true(status == osErrorResource, "Mutex released unexpectedly!"); in ZTEST()
67 zassert_true(status == osOK, "Mutex wait failure"); in ZTEST()
71 zassert_true(status == osOK, "Mutex wait failure"); in ZTEST()
74 zassert_true(status == osOK, "Mutex release failure"); in ZTEST()
78 zassert_true(status == osOK, "Mutex release failure"); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/subsys/modem/modem_cmux_pair/src/
Dmain.c350 zassert_true((events & EVENT_CMUX_DLCI2_RX_DATA), "DLCI2 dce not rx data"); in ZTEST()
353 zassert_true(ret == (sizeof(cmux_frame_data_dlci2_at_cgdcont) + in ZTEST()
357 zassert_true(memcmp(buffer2, cmux_frame_data_dlci2_at_cgdcont, in ZTEST()
361 zassert_true(memcmp(&buffer2[sizeof(cmux_frame_data_dlci2_at_cgdcont)], in ZTEST()
380 zassert_true((events & EVENT_CMUX_DLCI1_RX_DATA), "DLCI1 dce not rx data"); in ZTEST()
383 zassert_true(ret == (sizeof(cmux_frame_data_dlci1_at_at) + in ZTEST()
387 zassert_true(memcmp(buffer1, cmux_frame_data_dlci1_at_at, in ZTEST()
391 zassert_true(memcmp(&buffer1[sizeof(cmux_frame_data_dlci1_at_at)], in ZTEST()
411 zassert_true((events & EVENT_CMUX_DLCI2_RX_DATA), "DLCI2 dce not rx data"); in ZTEST()
414 zassert_true(ret == (sizeof(cmux_frame_data_dlci2_ppp_52) + in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/net/npf/src/
Dmain.c69 zassert_true(size >= sizeof(eth_hdr), ""); in build_test_pkt()
70 zassert_true((size - sizeof(eth_hdr)) <= sizeof(dummy_data), ""); in build_test_pkt()
130 zassert_true(net_pkt_filter_recv_ok(pkt_iface_a), ""); in test_npf_iface()
131 zassert_true(net_pkt_filter_recv_ok(pkt_iface_b), ""); in test_npf_iface()
138 zassert_true(net_pkt_filter_recv_ok(pkt_iface_a), ""); in test_npf_iface()
142 zassert_true(npf_remove_recv_rule(&accept_iface_a), ""); in test_npf_iface()
155 zassert_true(net_pkt_filter_recv_ok(pkt_iface_a), ""); in test_npf_iface()
159 zassert_true(npf_remove_recv_rule(&accept_all_but_iface_b), ""); in test_npf_iface()
160 zassert_true(npf_remove_recv_rule(&npf_default_drop), ""); in test_npf_iface()
163 zassert_true(net_pkt_filter_recv_ok(pkt_iface_a), ""); in test_npf_iface()
[all …]
/Zephyr-Core-3.7.0/tests/arch/riscv/atomic/src/
Dmain.c45 zassert_true((atomic_swap(&target, value) == 21), "atomic_swap"); in ZTEST_USER()
46 zassert_true((target == 7), "atomic_swap"); in ZTEST_USER()
51 zassert_true((atomic_max(&target, value) == 5), "atomic_max"); in ZTEST_USER()
52 zassert_true((target == 5), "atomic_max"); in ZTEST_USER()
57 zassert_true((atomic_min(&target, value) == 5), "atomic_min"); in ZTEST_USER()
58 zassert_true((target == -8), "atomic_min"); in ZTEST_USER()
63 zassert_true((atomic_maxu(&utarget, uvalue) == 5), "atomic_maxu"); in ZTEST_USER()
64 zassert_true((utarget == ATOMIC_WORD(0xffffffff00000000, 0xffff0000)), "atomic_maxu"); in ZTEST_USER()
69 zassert_true((atomic_minu(&utarget, uvalue) == 5), "atomic_minu"); in ZTEST_USER()
70 zassert_true((utarget == 5), "atomic_minu"); in ZTEST_USER()
/Zephyr-Core-3.7.0/tests/unit/list/
Ddlist.c188 zassert_true((verify_emptyness(&test_list)), in ZTEST()
193 zassert_true((verify_content_amount(&test_list, 1)), in ZTEST()
196 zassert_true((verify_tail_head(&test_list, &test_node_1.node, in ZTEST()
201 zassert_true(sys_dnode_is_linked(&test_node_1.node), in ZTEST()
204 zassert_true((verify_emptyness(&test_list)), in ZTEST()
211 zassert_true((verify_content_amount(&test_list, 1)), in ZTEST()
214 zassert_true((verify_tail_head(&test_list, &test_node_1.node, in ZTEST()
220 zassert_true((verify_emptyness(&test_list)), in ZTEST()
228 zassert_true((verify_content_amount(&test_list, 2)), in ZTEST()
231 zassert_true((verify_tail_head(&test_list, &test_node_2.node, in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/kernel/cache/src/
Dtest_cache_api.c29 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
32 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
35 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
38 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
41 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
44 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
52 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
55 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
58 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
61 zassert_true((ret == 0) || (ret == -ENOTSUP)); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/subsys/settings/fcb/src/
Dsettings_test_save_one_fcb.c22 zassert_true(rc == 0 || rc == -EEXIST, "settings_register fail"); in ZTEST()
31 zassert_true(rc == 0, "can't register FCB as configuration source"); in ZTEST()
35 zassert_true(rc == 0, in ZTEST()
40 zassert_true(rc == 0, "fcb write error"); in ZTEST()
43 zassert_true(rc == 0, "fcb one item write error"); in ZTEST()
46 zassert_true(rc == 0, "fcb read error"); in ZTEST()
47 zassert_true(val8 == 42U, "bad value read"); in ZTEST()
50 zassert_true(rc == 0, "fcb one item write error"); in ZTEST()
53 zassert_true(rc == 0, "fcb read error"); in ZTEST()
54 zassert_true(val8 == 44U, "bad value read"); in ZTEST()
/Zephyr-Core-3.7.0/tests/subsys/settings/file/src/
Dsettings_test_save_one_file.c24 zassert_true(rc == 0 || rc == -EEXIST, "can't create directory"); in ZTEST()
30 zassert_true(rc == 0, "can't register FS as configuration source"); in ZTEST()
33 zassert_true(rc == 0, in ZTEST()
38 zassert_true(rc == 0, "fs write error"); in ZTEST()
44 zassert_true(rc == 0, "fs redout error"); in ZTEST()
45 zassert_true(val8 == 42U, "bad value read"); in ZTEST()
48 zassert_true(rc == 0, "fs one item write error"); in ZTEST()
51 zassert_true(rc == 0, "fs redout error"); in ZTEST()
52 zassert_true(val8 == 44U, "bad value read"); in ZTEST()
/Zephyr-Core-3.7.0/tests/kernel/events/sys_event/src/
Dmain.c72 zassert_true(init_event.events == 0); in ZTEST()
189 zassert_true(rv == 0); in test_receive_existing_events()
190 zassert_true(test_events == 0); in test_receive_existing_events()
199 zassert_true(rv == 0); in test_receive_existing_events()
200 zassert_true(test_events == 0); in test_receive_existing_events()
209 zassert_true(rv == 0); in test_receive_existing_events()
210 zassert_true(test_events == 0); in test_receive_existing_events()
219 zassert_true(rv == 0); in test_receive_existing_events()
220 zassert_true(test_events == 0); in test_receive_existing_events()
229 zassert_true(rv == 0); in test_receive_existing_events()
[all …]
/Zephyr-Core-3.7.0/tests/kernel/threads/thread_apis/src/
Dtest_threads_cpu_mask.c33 zassert_true(ret == -EINVAL, ""); in ZTEST()
36 zassert_true(ret == -EINVAL, ""); in ZTEST()
39 zassert_true(ret == -EINVAL, ""); in ZTEST()
42 zassert_true(ret == -EINVAL, ""); in ZTEST()
45 zassert_true(ret == -EINVAL, ""); in ZTEST()
61 zassert_true(prio > K_HIGHEST_APPLICATION_THREAD_PRIO, ""); in ZTEST()
71 zassert_true(ret == 0, ""); in ZTEST()
74 zassert_true(ret == 0, ""); in ZTEST()
77 zassert_true(ret == 0, ""); in ZTEST()
80 zassert_true(ret == 0, ""); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/net/net_pkt/src/
Dmain.c115 zassert_true(pkt != NULL, "Pkt not allocated"); in ZTEST()
119 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
126 zassert_true(pkt != NULL, "Pkt not allocated"); in ZTEST()
129 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
143 zassert_true(pkt != NULL, "Pkt not allocated"); in ZTEST()
146 zassert_true(pkt_is_of_size(pkt, 512), "Pkt size is not right"); in ZTEST()
150 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
159 zassert_true(pkt != NULL, "Pkt not allocated"); in ZTEST()
162 zassert_true(pkt_is_of_size(pkt, net_if_get_mtu(eth_if) + L2_HDR_SIZE), in ZTEST()
167 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/subsys/portability/cmsis_rtos_v2/src/
Dmutex.c30 zassert_true(status == osOK, "Mutex delete fail"); in cleanup_max_mutex()
43 zassert_true(mutex_ids[mtx_cnt] == NULL, in test_max_mutex()
47 zassert_true(mutex_ids[mtx_cnt] != NULL, in test_max_mutex()
62 zassert_true(status == osErrorParameter, in ZTEST()
66 zassert_true(mutex_id != NULL, "Mutex1 creation failed"); in ZTEST()
73 zassert_true(status == osErrorResource, "Mutex released unexpectedly!"); in ZTEST()
79 zassert_true(id == NULL, "Something wrong with MutexGetOwner!"); in ZTEST()
82 zassert_true(status == osOK, "Mutex wait failure"); in ZTEST()
89 zassert_true(status == osOK, "Mutex wait failure"); in ZTEST()
92 zassert_true(status == osOK, "Mutex release failure"); in ZTEST()
[all …]

12345678910>>...34