Home
last modified time | relevance | path

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

1234

/Zephyr-latest/tests/crypto/tinycrypt_hmac_prng/src/
Dhmac_prng.c7553 zassert_false(result == TC_FAIL, "HMAC test 1 failed"); in ZTEST()
7556 zassert_false(result == TC_FAIL, "HMAC test 2 failed"); in ZTEST()
7559 zassert_false(result == TC_FAIL, "HMAC test 3 failed"); in ZTEST()
7562 zassert_false(result == TC_FAIL, "HMAC test 4 failed"); in ZTEST()
7565 zassert_false(result == TC_FAIL, "HMAC test 5 failed"); in ZTEST()
7568 zassert_false(result == TC_FAIL, "HMAC test 6 failed"); in ZTEST()
7571 zassert_false(result == TC_FAIL, "HMAC test 7 failed"); in ZTEST()
7574 zassert_false(result == TC_FAIL, "HMAC test 8 failed"); in ZTEST()
7577 zassert_false(result == TC_FAIL, "HMAC test 9 failed"); in ZTEST()
7580 zassert_false(result == TC_FAIL, "HMAC test 10 failed"); in ZTEST()
[all …]
/Zephyr-latest/tests/posix/fs/src/
Dtest_fs_open_flags.c28 return TC_FAIL; in test_file_open_flags()
38 return TC_FAIL; in test_file_open_flags()
47 return TC_FAIL; in test_file_open_flags()
57 return TC_FAIL; in test_file_open_flags()
66 return TC_FAIL; in test_file_open_flags()
74 return TC_FAIL; in test_file_open_flags()
83 return TC_FAIL; in test_file_open_flags()
95 return TC_FAIL; in test_file_open_flags()
104 return TC_FAIL; in test_file_open_flags()
112 return TC_FAIL; in test_file_open_flags()
[all …]
Dtest_fs_file.c41 return TC_FAIL; in test_file_write()
49 return TC_FAIL; in test_file_write()
57 return TC_FAIL; in test_file_write()
75 return TC_FAIL; in test_file_read()
83 return TC_FAIL; in test_file_read()
91 return TC_FAIL; in test_file_read()
101 return TC_FAIL; in test_file_read()
109 return TC_FAIL; in test_file_read()
120 return TC_FAIL; in test_file_read()
155 res = TC_FAIL; in test_file_fsync()
[all …]
/Zephyr-latest/tests/boards/altera_max10/i2c_master/src/
Di2c_master.c40 return TC_FAIL; in powerup_adv7513()
45 return TC_FAIL; in powerup_adv7513()
53 return TC_FAIL; in powerup_adv7513()
59 return TC_FAIL; in powerup_adv7513()
74 return TC_FAIL; in test_i2c_adv7513()
80 return TC_FAIL; in test_i2c_adv7513()
93 return TC_FAIL; in test_i2c_adv7513()
97 return TC_FAIL; in test_i2c_adv7513()
107 return TC_FAIL; in test_i2c_adv7513()
113 return TC_FAIL; in test_i2c_adv7513()
[all …]
/Zephyr-latest/tests/drivers/i2c/i2c_api/src/
Dtest_i2c.c50 return TC_FAIL; in test_gy271()
56 return TC_FAIL; in test_gy271()
62 return TC_FAIL; in test_gy271()
66 return TC_FAIL; in test_gy271()
75 return TC_FAIL; in test_gy271()
84 return TC_FAIL; in test_gy271()
91 return TC_FAIL; in test_gy271()
106 return TC_FAIL; in test_gy271()
114 return TC_FAIL; in test_gy271()
131 return TC_FAIL; in test_burst_gy271()
[all …]
/Zephyr-latest/tests/drivers/kscan/kscan_api/src/
Dtest_kscan.c28 return TC_FAIL; in test_kb_callback()
33 return TC_FAIL; in test_kb_callback()
45 return TC_FAIL; in test_null_callback()
50 return TC_FAIL; in test_null_callback()
62 return TC_FAIL; in test_disable_enable_callback()
67 return TC_FAIL; in test_disable_enable_callback()
72 return TC_FAIL; in test_disable_enable_callback()
77 return TC_FAIL; in test_disable_enable_callback()
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_mount.c27 return TC_FAIL; in test_mount_no_format()
43 return TC_FAIL; in test_mount_rd_only_no_sys()
58 return TC_FAIL; in test_mount_use_disk_access()
60 return ((fatfs_mnt.flags & FS_MOUNT_FLAG_USE_DISK_ACCESS) ? TC_PASS : TC_FAIL); in test_mount_use_disk_access()
71 return TC_FAIL; in test_mount()
73 return ((fatfs_mnt.flags & FS_MOUNT_FLAG_USE_DISK_ACCESS) ? TC_PASS : TC_FAIL); in test_mount()
78 return (fs_unmount(&fatfs_mnt) >= 0 ? TC_PASS : TC_FAIL); in test_unmount()
Dcommon.c49 return TC_FAIL; in wipe_partition()
59 return TC_FAIL; in wipe_partition()
76 return TC_FAIL; in wipe_partition()
80 return TC_FAIL; in wipe_partition()
84 return TC_FAIL; in wipe_partition()
89 return TC_FAIL; in wipe_partition()
101 return TC_FAIL; in wipe_partition()
Dtest_fat_rename.c60 int res = TC_FAIL; in test_rename_dir()
72 res = TC_FAIL; in test_rename_dir()
87 res = TC_FAIL; in test_rename_dir()
98 res = TC_FAIL; in test_rename_dir()
113 int res = TC_FAIL; in test_rename_file()
125 res = TC_FAIL; in test_rename_file()
140 res = TC_FAIL; in test_rename_file()
151 res = TC_FAIL; in test_rename_file()
Dtest_fat_file.c68 return TC_FAIL; in test_file_write()
123 return TC_FAIL; in test_file_read()
155 return TC_FAIL; in test_file_truncate()
185 return TC_FAIL; in test_file_truncate()
205 return TC_FAIL; in test_file_truncate()
224 return TC_FAIL; in test_file_truncate()
264 return TC_FAIL; in test_file_delete()
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c103 return TC_FAIL; in test_loop()
144 return TC_FAIL; in test_loop()
149 return TC_FAIL; in test_loop()
160 return TC_FAIL; in test_loop()
168 return TC_FAIL; in test_loop()
194 return TC_FAIL; in test_loop_suspend_resume()
237 return TC_FAIL; in test_loop_suspend_resume()
242 return TC_FAIL; in test_loop_suspend_resume()
269 return TC_FAIL; in test_loop_suspend_resume()
282 return TC_FAIL; in test_loop_suspend_resume()
[all …]
/Zephyr-latest/tests/kernel/fatal/exception/src/
Dmain.c59 TC_END_REPORT(TC_FAIL); in k_sys_fatal_error_handler()
65 TC_END_REPORT(TC_FAIL); in k_sys_fatal_error_handler()
72 TC_END_REPORT(TC_FAIL); in k_sys_fatal_error_handler()
101 rv = TC_FAIL; in entry_cpu_exception()
134 rv = TC_FAIL; in entry_cpu_exception_extend()
143 rv = TC_FAIL; in entry_oops()
152 rv = TC_FAIL; in entry_panic()
160 rv = TC_FAIL; in entry_zephyr_assert()
169 rv = TC_FAIL; in entry_arbitrary_reason()
178 rv = TC_FAIL; in entry_arbitrary_reason_negative()
[all …]
/Zephyr-latest/tests/drivers/watchdog/wdt_basic_api/src/
Dtest_wdt.c197 return TC_FAIL; in test_wdt_no_callback()
215 return TC_FAIL; in test_wdt_no_callback()
225 return TC_FAIL; in test_wdt_no_callback()
244 return TC_FAIL; in test_wdt_callback_1()
256 return TC_FAIL; in test_wdt_callback_1()
273 return TC_FAIL; in test_wdt_callback_1()
283 return TC_FAIL; in test_wdt_callback_1()
303 return TC_FAIL; in test_wdt_callback_2()
315 return TC_FAIL; in test_wdt_callback_2()
328 return TC_FAIL; in test_wdt_callback_2()
[all …]
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dcommon.c51 return -TC_FAIL; in verify_buf()
67 return -TC_FAIL; in verify_buf()
73 return -TC_FAIL; in verify_buf()
95 return -TC_FAIL; in verify_buf_const()
101 return -TC_FAIL; in verify_buf_const()
119 return -TC_FAIL; in tx_block_write_slab()
140 return -TC_FAIL; in rx_block_read_slab()
145 return -TC_FAIL; in rx_block_read_slab()
191 return -TC_FAIL; in configure_stream()
201 return -TC_FAIL; in configure_stream()
/Zephyr-latest/tests/drivers/watchdog/wdt_basic_reset_none/src/
Dmain.c48 return TC_FAIL; in test_wdt_callback_reset_none()
62 return TC_FAIL; in test_wdt_callback_reset_none()
68 return TC_FAIL; in test_wdt_callback_reset_none()
99 return TC_FAIL; in test_wdt_callback_reset_none()
112 return TC_FAIL; in test_wdt_bad_window_max()
124 return TC_FAIL; in test_wdt_bad_window_max()
/Zephyr-latest/tests/drivers/dma/chan_link_transfer/src/
Dtest_dma.c60 return TC_FAIL; in test_task()
99 return TC_FAIL; in test_task()
121 return TC_FAIL; in test_task()
126 return TC_FAIL; in test_task()
134 return TC_FAIL; in test_task()
140 return TC_FAIL; in test_task()
144 return TC_FAIL; in test_task()
/Zephyr-latest/tests/drivers/uart/uart_basic_api/src/
Dtest_uart_config.c42 return TC_FAIL; in test_configure()
53 return (ret == 0) ? TC_PASS : TC_FAIL; in test_configure()
65 return TC_FAIL; in test_config_get()
88 return TC_FAIL; in test_config_get()
Dtest_uart_config_wide.c42 return TC_FAIL; in test_configure_wide()
53 return (ret == 0) ? TC_PASS : TC_FAIL; in test_configure_wide()
65 return TC_FAIL; in test_config_get_wide()
88 return TC_FAIL; in test_config_get_wide()
Dtest_uart_fifo.c105 return TC_FAIL; in test_fifo_read()
135 return TC_FAIL; in test_fifo_fill()
153 return TC_FAIL; in test_fifo_fill()
159 return TC_FAIL; in test_fifo_fill()
/Zephyr-latest/tests/drivers/entropy/api/src/
Dmain.c51 return TC_FAIL; in random_entropy()
55 return TC_FAIL; in random_entropy()
83 return TC_FAIL; in get_entropy()
99 return TC_FAIL; in get_entropy()
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs_dir_file.c422 return TC_FAIL; in _test_lsdir()
428 return TC_FAIL; in _test_lsdir()
434 return TC_FAIL; in _test_lsdir()
444 return TC_FAIL; in _test_lsdir()
467 return TC_FAIL; in _test_lsdir()
480 zassert_true(_test_lsdir(NULL) == TC_FAIL); in test_lsdir()
482 zassert_true(_test_lsdir("/test") == TC_FAIL); in test_lsdir()
543 return TC_FAIL; in _test_file_write()
550 return TC_FAIL; in _test_file_write()
563 return TC_FAIL; in _test_file_write()
[all …]
Dtest_multi_fs.c72 return TC_FAIL; in test_fs_readmount()
105 return TC_FAIL; in test_fs_external()
109 return TC_FAIL; in test_fs_external()
/Zephyr-latest/tests/drivers/mspi/flash/src/
Dmain.c99 return TC_FAIL; in test_multi_sector_rw()
118 return TC_FAIL; in test_multi_sector_rw()
128 return TC_FAIL; in test_multi_sector_rw()
133 return TC_FAIL; in test_multi_sector_rw()
148 return TC_FAIL; in test_multi_sector_rw()
155 return TC_FAIL; in test_multi_sector_rw()
180 return TC_FAIL; in test_multi_sector_rw()
/Zephyr-latest/tests/crypto/tinycrypt/src/
Dcmac_mode.c95 return TC_FAIL; in verify_gf_2_128_double()
103 return TC_FAIL; in verify_gf_2_128_double()
111 return TC_FAIL; in verify_gf_2_128_double()
137 return TC_FAIL; in verify_cmac_null_msg()
168 return TC_FAIL; in verify_cmac_1_block_msg()
202 return TC_FAIL; in verify_cmac_320_bit_msg()
239 return TC_FAIL; in verify_cmac_512_bit_msg()
/Zephyr-latest/tests/drivers/dma/scatter_gather/src/
Dtest_dma_sg.c72 return TC_FAIL; in test_sg()
128 return TC_FAIL; in test_sg()
135 return TC_FAIL; in test_sg()
140 return TC_FAIL; in test_sg()
148 return TC_FAIL; in test_sg()

1234