Home
last modified time | relevance | path

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

1234567891011

/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/
Dtest_fat_file.c15 TC_PRINT("\nOpen tests:\n"); in test_file_open()
18 TC_PRINT("Opening existing file %s\n", TEST_FILE); in test_file_open()
20 TC_PRINT("Creating new file %s\n", TEST_FILE); in test_file_open()
26 TC_PRINT("Failed opening file [%d]\n", res); in test_file_open()
30 TC_PRINT("Opened file %s\n", TEST_FILE); in test_file_open()
33 TC_PRINT("File now exists %s\n", TEST_FILE); in test_file_open()
44 TC_PRINT("\nWrite tests:\n"); in test_file_write()
49 TC_PRINT("fs_seek failed [%d]\n", res); in test_file_write()
54 TC_PRINT("Data written:\"%s\"\n\n", test_str); in test_file_write()
59 TC_PRINT("Failed writing to file [%zd]\n", brw); in test_file_write()
[all …]
Dtest_fat_dir.c19 TC_PRINT("\nmkdir tests:\n"); in test_mkdir()
22 TC_PRINT("[%s] exists, delete it\n", TEST_DIR); in test_mkdir()
24 TC_PRINT("Error deleting dir %s\n", TEST_DIR); in test_mkdir()
28 TC_PRINT("Creating new dir %s\n", TEST_DIR); in test_mkdir()
34 TC_PRINT("Error creating dir[%d]\n", res); in test_mkdir()
40 TC_PRINT("Failed opening file [%d]\n", res); in test_mkdir()
51 TC_PRINT("Error closing file [%d]\n", res); in test_mkdir()
55 TC_PRINT("Created dir %s!\n", TEST_DIR); in test_mkdir()
66 TC_PRINT("\nlsdir tests:\n"); in test_lsdir()
73 TC_PRINT("Error opening dir %s [%d]\n", path, res); in test_lsdir()
[all …]
Dtest_fat_file_reentrant.c29 TC_PRINT("\nReentrant tests:\n"); in test_reentrant_access()
46 TC_PRINT("Open file\n"); in test_reentrant_access()
49 TC_PRINT("File opened\n"); in test_reentrant_access()
70 TC_PRINT("\nParallel reentrant-safe file access test:\n"); in test_reentrant_parallel_file_access()
72 TC_PRINT("Open file 1\n"); in test_reentrant_parallel_file_access()
75 TC_PRINT("File 1 opened 1\n"); in test_reentrant_parallel_file_access()
92 TC_PRINT("Check file 2 existence\n"); in test_reentrant_parallel_file_access()
121 TC_PRINT("Mutex thread: Started, locking fs\n"); in tlock_mutex()
123 TC_PRINT("Mutex thread: Lock acquired, yield to switch back to try to open file\n"); in tlock_mutex()
127 TC_PRINT("Mutex thread: Got back to thread, release mutex now and give semaphore to check " in tlock_mutex()
[all …]
Dtest_fat_fs.c17 TC_PRINT("Error getting volume stats [%d]\n", res); in test_statvfs()
21 TC_PRINT("\n"); in test_statvfs()
22 TC_PRINT("Optimal transfer block size = %lu\n", stat.f_bsize); in test_statvfs()
23 TC_PRINT("Allocation unit size = %lu\n", stat.f_frsize); in test_statvfs()
24 TC_PRINT("Volume size in f_frsize units = %lu\n", stat.f_blocks); in test_statvfs()
25 TC_PRINT("Free space in f_frsize units = %lu\n", stat.f_bfree); in test_statvfs()
/Zephyr-latest/tests/subsys/fs/fat_fs_dual_drive/src/
Dtest_fat_file.c20 TC_PRINT("Open tests:\n"); in test_file_open()
23 TC_PRINT("Opening existing file %s\n", path); in test_file_open()
25 TC_PRINT("Creating new file %s\n", path); in test_file_open()
31 TC_PRINT("Failed opening file [%d]\n", res); in test_file_open()
35 TC_PRINT("Opened file %s\n", path); in test_file_open()
45 TC_PRINT("Write tests:\n"); in test_file_write()
50 TC_PRINT("fs_seek failed [%d]\n", res); in test_file_write()
55 TC_PRINT("Data written:\"%s\"\n\n", test_str); in test_file_write()
60 TC_PRINT("Failed writing to file [%zd]\n", brw); in test_file_write()
66 TC_PRINT("Unable to complete write. Volume full.\n"); in test_file_write()
[all …]
Dtest_fat_dir.c24 TC_PRINT("mkdir tests:\n"); in test_mkdir()
27 TC_PRINT("[%s] exists, delete it\n", dir); in test_mkdir()
29 TC_PRINT("Error deleting dir %s\n", dir); in test_mkdir()
33 TC_PRINT("Creating new dir %s\n", dir); in test_mkdir()
39 TC_PRINT("Error creating dir[%d]\n", res); in test_mkdir()
45 TC_PRINT("Failed opening file [%d]\n", res); in test_mkdir()
56 TC_PRINT("Error closing file [%d]\n", res); in test_mkdir()
60 TC_PRINT("Created dir %s!\n", dir); in test_mkdir()
71 TC_PRINT("lsdir tests:\n"); in test_lsdir()
78 TC_PRINT("Error opening dir %s [%d]\n", path, res); in test_lsdir()
[all …]
Dtest_fat_fs.c23 TC_PRINT("Error getting volume stats [%d]\n", res); in test_statvfs()
27 TC_PRINT("Optimal transfer block size = %lu\n", stat.f_bsize); in test_statvfs()
28 TC_PRINT("Allocation unit size = %lu\n", stat.f_frsize); in test_statvfs()
29 TC_PRINT("Volume size in f_frsize units = %lu\n", stat.f_blocks); in test_statvfs()
30 TC_PRINT("Free space in f_frsize units = %lu\n", stat.f_bfree); in test_statvfs()
37 TC_PRINT("\nTesting statvfs operation on %s\n", FATFS_MNTP); in ZTEST()
40 TC_PRINT("\nTesting statvfs operation on %s\n", FATFS_MNTP1); in ZTEST()
/Zephyr-latest/tests/subsys/fs/multi-fs/src/
Dtest_common_file.c16 TC_PRINT("\nOpen tests:\n"); in test_file_open()
19 TC_PRINT("Opening existing file %s\n", file_path); in test_file_open()
21 TC_PRINT("Creating new file %s\n", file_path); in test_file_open()
27 TC_PRINT("Failed opening file [%d]\n", res); in test_file_open()
31 TC_PRINT("Opened file %s\n", file_path); in test_file_open()
41 TC_PRINT("\nWrite tests:\n"); in test_file_write()
46 TC_PRINT("fs_seek failed [%d]\n", res); in test_file_write()
51 TC_PRINT("Data written:\"%s\"\n\n", test_str); in test_file_write()
56 TC_PRINT("Failed writing to file [%zd]\n", brw); in test_file_write()
62 TC_PRINT("Unable to complete write. Volume full.\n"); in test_file_write()
[all …]
Dtest_common_dir.c31 TC_PRINT("[%s] exists, delete it\n", dir_path); in test_mkdir()
33 TC_PRINT("Error deleting dir %s\n", dir_path); in test_mkdir()
37 TC_PRINT("Creating new dir %s\n", dir_path); in test_mkdir()
43 TC_PRINT("Error creating dir[%d]\n", res); in test_mkdir()
49 TC_PRINT("Failed opening file [%d]\n", res); in test_mkdir()
53 TC_PRINT("Testing write to file %s\n", file_path); in test_mkdir()
62 TC_PRINT("Error closing file [%d]\n", res); in test_mkdir()
66 TC_PRINT("Created dir %s!\n", dir_path); in test_mkdir()
77 TC_PRINT("\nlsdir tests:\n"); in test_lsdir()
84 TC_PRINT("Error opening dir %s [%d]\n", path, res); in test_lsdir()
[all …]
/Zephyr-latest/tests/posix/fs/src/
Dtest_fs_open_flags.c21 TC_PRINT("Open of non-existent file, flags = 0\n"); in test_file_open_flags()
24 TC_PRINT("Expected fail; fd = %d, errno = %d\n", fd, errno); in test_file_open_flags()
31 TC_PRINT("Open on non-existent file, flags = O_RDONLY\n"); in test_file_open_flags()
34 TC_PRINT("Expected fail; fd = %d, errno = %d\n", fd, errno); in test_file_open_flags()
40 TC_PRINT("Open on non-existent file, flags = O_WRONLY\n"); in test_file_open_flags()
43 TC_PRINT("Expected fail; fd = %d, errno = %d\n", fd, errno); in test_file_open_flags()
50 TC_PRINT("Open on non-existent file, flags = O_RDWR\n"); in test_file_open_flags()
53 TC_PRINT("Expected fail; fd = %d, errno = %d\n", fd, errno); in test_file_open_flags()
62 TC_PRINT("Open on non-existent file, flags = O_CREAT | O_WRONLY\n"); in test_file_open_flags()
65 TC_PRINT("Expected success; fd = %d, errno = %d\n", fd, errno); in test_file_open_flags()
[all …]
/Zephyr-latest/tests/subsys/sd/sdio/src/
Dmain.c54 TC_PRINT("Card voltage: 1.2V\n"); in ZTEST()
57 TC_PRINT("Card voltage: 1.8V\n"); in ZTEST()
60 TC_PRINT("Card voltage: 3.0V\n"); in ZTEST()
63 TC_PRINT("Card voltage: 3.3V\n"); in ZTEST()
71 TC_PRINT("Card timing: SDR12\n"); in ZTEST()
74 TC_PRINT("Card timing: SDR25\n"); in ZTEST()
77 TC_PRINT("Card timing: SDR50\n"); in ZTEST()
80 TC_PRINT("Card timing: SDR104\n"); in ZTEST()
83 TC_PRINT("Card timing: DDR50\n"); in ZTEST()
90 TC_PRINT("Card type: SDIO\n"); in ZTEST()
[all …]
/Zephyr-latest/tests/boards/altera_max10/i2c_master/src/
Di2c_master.c35 TC_PRINT("Powering up ADV7513\n"); in powerup_adv7513()
39 TC_PRINT("i2c write fail\n"); in powerup_adv7513()
44 TC_PRINT("failed to read HPD control\n"); in powerup_adv7513()
47 TC_PRINT("HPD control 0x%x\n", data); in powerup_adv7513()
52 TC_PRINT("i2c write fail\n"); in powerup_adv7513()
58 TC_PRINT("failed to read Power state\n"); in powerup_adv7513()
61 TC_PRINT("Power state 0x%x\n", data); in powerup_adv7513()
73 TC_PRINT("i2c device is not ready\n"); in test_i2c_adv7513()
79 TC_PRINT("i2c config failed\n"); in test_i2c_adv7513()
87 TC_PRINT("*** Running i2c read/write tests ***\n"); in test_i2c_adv7513()
[all …]
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c91 TC_PRINT("DMA memory to memory transfer started\n"); in test_loop()
102 TC_PRINT("dma controller device is not ready\n"); in test_loop()
106 TC_PRINT("Preparing DMA Controller: %s\n", dma->name); in test_loop()
127 TC_PRINT("this platform do not support the dma channel\n"); in test_loop()
132 TC_PRINT("Starting the transfer on channel %d and waiting for 1 second\n", chan_id); in test_loop()
143 TC_PRINT("ERROR: transfer config (%d)\n", chan_id); in test_loop()
148 TC_PRINT("ERROR: transfer start (%d)\n", chan_id); in test_loop()
156 TC_PRINT("ERROR: unfinished transfer\n"); in test_loop()
158 TC_PRINT("ERROR: transfer stop\n"); in test_loop()
163 TC_PRINT("Each RX buffer should contain the full TX buffer string.\n"); in test_loop()
[all …]
/Zephyr-latest/tests/subsys/fs/fs_api/src/
Dtest_fs_dir_file.c136 TC_PRINT("\nmount tests:\n"); in test_mount()
137 TC_PRINT("Pass NULL pointer to fs_mount()\n"); in test_mount()
141 TC_PRINT("Mount an unsupported file system\n"); in test_mount()
147 TC_PRINT("Mount to an invalid directory\n"); in test_mount()
160 TC_PRINT("Mount to a directory that has file system mounted already\n"); in test_mount()
164 TC_PRINT("Mount using same private data as already mounted system\n"); in test_mount()
172 TC_PRINT("Mount a file system has no interface implemented\n"); in test_mount()
191 TC_PRINT("\nunmount tests:\n"); in test_unmount()
193 TC_PRINT("\nunmount nothing:\n"); in test_unmount()
197 TC_PRINT("\nunmount file system that has never been mounted:\n"); in test_unmount()
[all …]
/Zephyr-latest/tests/crypto/tinycrypt_hmac_prng/src/
Dhmac_prng.c162 TC_PRINT("."); in test_1()
224 TC_PRINT("."); in test_2()
286 TC_PRINT("."); in test_3()
348 TC_PRINT("."); in test_4()
410 TC_PRINT("."); in test_5()
472 TC_PRINT("."); in test_6()
534 TC_PRINT("."); in test_7()
596 TC_PRINT("."); in test_8()
658 TC_PRINT("."); in test_9()
720 TC_PRINT("."); in test_10()
[all …]
/Zephyr-latest/tests/drivers/i2c/i2c_api/src/
Dtest_i2c.c49 TC_PRINT("I2C device is not ready\n"); in test_gy271()
55 TC_PRINT("I2C config failed\n"); in test_gy271()
61 TC_PRINT("I2C get_config failed\n"); in test_gy271()
65 TC_PRINT("I2C get_config returned invalid config\n"); in test_gy271()
74 TC_PRINT("Fail to configure sensor GY271\n"); in test_gy271()
83 TC_PRINT("Fail to configure sensor GY271\n"); in test_gy271()
90 TC_PRINT("Fail to configure sensor GY271\n"); in test_gy271()
105 TC_PRINT("Fail to write to sensor GY271\n"); in test_gy271()
113 TC_PRINT("Fail to fetch sample from sensor GY271\n"); in test_gy271()
117 TC_PRINT("axis raw data: %d %d %d %d %d %d\n", datas[0], datas[1], datas[2], datas[3], in test_gy271()
[all …]
/Zephyr-latest/tests/boards/intel_adsp/ssp/src/
Dmain.c87 TC_PRINT("tx callback status %d\n", status); in dma_callback()
89 TC_PRINT("tx giving up\n"); in dma_callback()
97 TC_PRINT("rx callback status %d\n", status); in dma_callback_rx()
99 TC_PRINT("rx giving xfer_sem\n"); in dma_callback_rx()
123 TC_PRINT("Platform does not support dma request channel\n"); in config_output_dma()
132 TC_PRINT("dma block %d block_size %d, source addr %x, dest addr %x\n", in config_output_dma()
137 TC_PRINT("set next block pointer to %p\n", dma_block_cfgs[i].next_block); in config_output_dma()
163 TC_PRINT("Platform does not support dma request channel\n"); in config_input_dma()
173 TC_PRINT("dma block %d block_size %d, source addr %x, dest addr %x\n", in config_input_dma()
178 TC_PRINT("set next block pointer to %p\n", dma_block_cfgs_rx[i].next_block); in config_input_dma()
[all …]
/Zephyr-latest/tests/crypto/tinycrypt/src/
Decc_dh.c232 TC_PRINT("Test #1: ECDH"); in cavp_ecdh()
233 TC_PRINT("NIST-p256\n"); in cavp_ecdh()
287 TC_PRINT("Test #2: ECC KeyGen "); in cavp_keygen()
288 TC_PRINT("NIST-p256\n"); in cavp_keygen()
388 TC_PRINT("Test #3: PubKeyVerify "); in cavp_pkv()
389 TC_PRINT("NIST-p256-SHA2-256\n"); in cavp_pkv()
406 TC_PRINT("Test #4: Monte Carlo (%d Randomized EC-DH key-exchange) ", num_tests); in montecarlo_ecdh()
407 TC_PRINT("NIST-p256\n "); in montecarlo_ecdh()
411 TC_PRINT("."); in montecarlo_ecdh()
428 TC_PRINT("Shared secrets are not identical!\n"); in montecarlo_ecdh()
[all …]
/Zephyr-latest/tests/drivers/mspi/flash/src/
Dmain.c81 TC_PRINT("\n===================================================================\n"); in test_multi_sector_rw()
82 TC_PRINT("Perform test on multiple consequtive sectors on %s\n", flash_dev->name); in test_multi_sector_rw()
84 TC_PRINT("\nTest 0: Get Flash page layout\n"); in test_multi_sector_rw()
91 TC_PRINT("----pages-------size----\n"); in test_multi_sector_rw()
93 TC_PRINT("%2d: 0x%-8X 0x%-8x\n", i, layout[i].pages_count, in test_multi_sector_rw()
98 TC_PRINT("Empty flash_pages_layout!\n"); in test_multi_sector_rw()
102 TC_PRINT("\nPage size selected: %d\n", min_page_size); in test_multi_sector_rw()
109 TC_PRINT("\nTest 1: Flash erase\n"); in test_multi_sector_rw()
117 TC_PRINT("Flash erase failed! %d\n", rc); in test_multi_sector_rw()
127 TC_PRINT("Flash read failed! %d\n", rc); in test_multi_sector_rw()
[all …]
/Zephyr-latest/tests/drivers/dma/scatter_gather/src/
Dtest_dma_sg.c46 TC_PRINT("callback status %d\n", status); in dma_sg_callback()
48 TC_PRINT("giving xfer_sem\n"); in dma_sg_callback()
58 TC_PRINT("DMA memory to memory transfer started\n"); in test_sg()
59 TC_PRINT("Preparing DMA Controller\n"); in test_sg()
71 TC_PRINT("dma controller device is not ready\n"); in test_sg()
96 TC_PRINT("Platform does not support dma request channel," in test_sg()
108 TC_PRINT("dma block %d block_size %d, source addr %" PRIx64 ", dest addr %" in test_sg()
114 TC_PRINT("dma block %d block_size %d, source addr %x, dest addr %x\n", in test_sg()
120 TC_PRINT("set next block pointer to %p\n", dma_block_cfgs[i].next_block); in test_sg()
124 TC_PRINT("Configuring the scatter-gather transfer on channel %d\n", chan_id); in test_sg()
[all …]
/Zephyr-latest/tests/boards/frdm_k64f/i2c/src/
Di2c.c39 TC_PRINT("Configuring FXOS8700\n"); in fxos8700_fifo_cfg()
47 TC_PRINT("Getting whoami\n"); in fxos8700_fifo_cfg()
51 TC_PRINT("Could not get WHOAMI value after reset\n"); in fxos8700_fifo_cfg()
56 TC_PRINT("Not an FXOS8700 sensor\n"); in fxos8700_fifo_cfg()
67 TC_PRINT("Failed to setup FIFO\n"); in fxos8700_fifo_cfg()
78 TC_PRINT("Failed to activate the sensor\n"); in fxos8700_fifo_cfg()
82 TC_PRINT("Configured FXOS8700\n"); in fxos8700_fifo_cfg()
102 TC_PRINT("fxos8700 sync test ...\n"); in test_i2c_fxos8700_sync()
114 TC_PRINT("fxos8700 async test pass\n"); in test_i2c_fxos8700_sync()
154 TC_PRINT("fxos8700 async test ...\n"); in test_i2c_fxos8700_transfer_cb()
[all …]
/Zephyr-latest/tests/drivers/watchdog/wdt_basic_api/src/
Dtest_wdt.c196 TC_PRINT("WDT device is not ready\n"); in test_wdt_no_callback()
200 TC_PRINT("Testcase: %s\n", __func__); in test_wdt_no_callback()
205 TC_PRINT("Testcase passed\n"); in test_wdt_no_callback()
214 TC_PRINT("Watchdog install error\n"); in test_wdt_no_callback()
220 TC_PRINT("- pausing watchdog by debugger is not supported\n"); in test_wdt_no_callback()
224 TC_PRINT("Watchdog setup error\n"); in test_wdt_no_callback()
228 TC_PRINT("Waiting to restart MCU\n"); in test_wdt_no_callback()
243 TC_PRINT("WDT device is not ready\n"); in test_wdt_callback_1()
247 TC_PRINT("Testcase: %s\n", __func__); in test_wdt_callback_1()
253 TC_PRINT("Testcase passed\n"); in test_wdt_callback_1()
[all …]
/Zephyr-latest/tests/subsys/edac/ibecc_cov/src/
Dibecc.c19 TC_PRINT("Simulate sys_in8(NMI_STS_CNT_REG)=>SERR\n"); in mock_sys_in8()
23 TC_PRINT("Simulate sys_in8(0x%x)=>0\n", port); in mock_sys_in8()
30 TC_PRINT("Simulate sys_out8() NOP\n"); in mock_sys_out8()
37 TC_PRINT("Simulate sys_read64(IBECC_ECC_ERROR_LOG)=>CERRSTS\n"); in mock_sys_read64()
42 TC_PRINT("Simulate sys_read64(IBECC_PARITY_ERROR_LOG)=>1\n"); in mock_sys_read64()
47 TC_PRINT("Simulate sys_read64(0x%llx)=>0\n", addr); in mock_sys_read64()
54 TC_PRINT("Simulate sys_write64() NOP\n"); in mock_sys_write64()
59 TC_PRINT("Simulate pcie_conf_write() NOP\n"); in mock_conf_write()
66 TC_PRINT("Simulate PCI device, SKU 0x%x\n", EMULATE_SKU); in mock_conf_read()
74 TC_PRINT("Simulate IBECC enabled\n"); in mock_conf_read()
[all …]
/Zephyr-latest/tests/arch/arm64/arm64_mmu/src/
Dmain.c34 TC_PRINT(" Total page tables: %d\n", CONFIG_MAX_XLAT_TABLES); in arm64_mmu_test_init()
35 TC_PRINT(" Initial free tables: %d\n", initial_nb_free_tables); in arm64_mmu_test_init()
36 TC_PRINT(" Initial total table usage: %#x\n", initial_tables_usage); in arm64_mmu_test_init()
57 TC_PRINT(" After arch_mem_map:\n"); in mem_map_test()
58 TC_PRINT(" current free tables: %d\n", mapped_nb_free_tables); in mem_map_test()
59 TC_PRINT(" current total table usage: %#x\n", mapped_tables_usage); in mem_map_test()
71 TC_PRINT(" After arch_mem_unmap:\n"); in mem_map_test()
72 TC_PRINT(" current free tables: %d\n", unmapped_nb_free_tables); in mem_map_test()
73 TC_PRINT(" current total table usage: %#x\n", unmapped_tables_usage); in mem_map_test()
170 TC_PRINT(" After arch_mem_map:\n"); in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/mem_slab/mslab/src/
Dmain.c69 TC_PRINT("(2) - Allocate %d blocks in <%s>\n", NUMBLOCKS, __func__); in helper_thread()
84 TC_PRINT("(4) - Free a block in <%s> to unblock the other task " in helper_thread()
87 TC_PRINT("%s: About to free a memory block\n", __func__); in helper_thread()
93 TC_PRINT("(5) <%s> freeing the next block\n", __func__); in helper_thread()
94 TC_PRINT("%s: About to free another memory block\n", __func__); in helper_thread()
103 TC_PRINT("%s: freed all blocks allocated by this task\n", __func__); in helper_thread()
175 TC_PRINT(" block ptr to free p[%d] = %p\n", i, p[i]); in test_slab_free_all_blocks()
179 TC_PRINT("map_lgblks freed %d block\n", i + 1); in test_slab_free_all_blocks()
220 TC_PRINT("(1) - Allocate and free %d blocks " in ZTEST()
241 TC_PRINT("(3) - Further allocation results in timeout " in ZTEST()
[all …]

1234567891011