/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_basic.c | 36 "open hello failed"); in create_write_hello() 42 "stat new hello failed"); in create_write_hello() 52 "write constant failed"); in create_write_hello() 56 "stat written hello failed"); in create_write_hello() 72 "close hello failed"); in create_write_hello() 76 "stat closed hello failed"); in create_write_hello() 101 "verify hello open failed"); in verify_hello() 104 "verify hello open tell failed"); in verify_hello() 108 "verify hello at start failed"); in verify_hello() 111 "verify hello read tell failed"); in verify_hello() [all …]
|
D | test_fs_dirops.c | 38 "root init failed"); in check_mkdir() 42 "mkdir failed"); in check_mkdir() 55 "creat in dir failed"); in check_mkdir() 57 "close file failed"); in check_mkdir() 62 "stat file failed"); in check_mkdir() 70 "unlink file failed"); in check_mkdir() 74 "unlink dir failed"); in check_mkdir() 88 "statvfs failed"); in build_layout() 95 "root init failed"); in build_layout() 99 "Build_layout failed"); in build_layout() [all …]
|
/Zephyr-latest/tests/drivers/udc/src/ |
D | main.c | 44 zassert_ok(err, "Failed to free request buffer"); in event_ep_request() 105 zassert_equal(err, 0, "Failed to test endpoint configuration"); in test_udc_ep_try_config() 120 zassert_equal(err, 0, "Failed to test endpoint configuration"); in test_udc_ep_try_config() 121 zassert_not_equal(mps, 0, "Failed to test endpoint configuration"); in test_udc_ep_try_config() 146 zassert_equal(err1, -EPERM, "Not failed to enable endpoint"); in test_udc_ep_enable() 147 zassert_equal(err2, -EPERM, "Not failed to enable endpoint"); in test_udc_ep_enable() 148 zassert_equal(err3, -EPERM, "Not failed to enable endpoint"); in test_udc_ep_enable() 149 zassert_equal(err4, -EINVAL, "Not failed to enable endpoint"); in test_udc_ep_enable() 151 zassert_equal(err1, -EPERM, "Not failed to enable endpoint"); in test_udc_ep_enable() 152 zassert_equal(err2, -EPERM, "Not failed to enable endpoint"); in test_udc_ep_enable() [all …]
|
/Zephyr-latest/tests/subsys/modbus/src/ |
D | test_modbus_client.c | 33 zassert_equal(err, 0, "FC05 request failed"); in test_coil_wr_rd() 37 zassert_equal(err, 0, "FC01 request failed"); in test_coil_wr_rd() 39 zassert_equal(coil[0], 0xff, "FC05 verify coil 0-7 failed"); in test_coil_wr_rd() 40 zassert_equal(coil[1], 0xff, "FC05 verify coil 8-15 failed"); in test_coil_wr_rd() 44 zassert_equal(err, 0, "FC15 request failed"); in test_coil_wr_rd() 49 zassert_equal(err, 0, "FC15 request failed"); in test_coil_wr_rd() 52 zassert_equal(err, 0, "FC01 request failed"); in test_coil_wr_rd() 54 zassert_equal(coil[0], 0xaa, "FC15 verify coil 0-7 failed"); in test_coil_wr_rd() 55 zassert_equal(coil[1], 0xbb, "FC15 verify coil 8-15 failed"); in test_coil_wr_rd() 58 zassert_not_equal(err, 0, "FC05 out of range request not failed"); in test_coil_wr_rd() [all …]
|
/Zephyr-latest/tests/subsys/edac/ibecc/src/ |
D | dummy.c | 35 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 38 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 41 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 44 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 49 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 52 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 58 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 63 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 66 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() 69 zassert_equal(ret, -ENOSYS, "dummy api failed"); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/usb/device_next/src/ |
D | main.c | 100 zassert_equal(err, 0, "Failed to initialize USB host"); in usb_test_enable() 103 zassert_equal(err, 0, "Failed to enable USB host"); in usb_test_enable() 106 zassert_equal(err, 0, "Failed to signal bus reset"); in usb_test_enable() 109 zassert_equal(err, 0, "Failed to signal bus resume"); in usb_test_enable() 112 zassert_equal(err, 0, "Failed to enable SoF generator"); in usb_test_enable() 117 zassert_equal(err, 0, "Failed to initialize descriptor (%d)", err); in usb_test_enable() 120 zassert_equal(err, 0, "Failed to initialize descriptor (%d)", err); in usb_test_enable() 123 zassert_equal(err, 0, "Failed to initialize descriptor (%d)", err); in usb_test_enable() 126 zassert_equal(err, 0, "Failed to initialize descriptor (%d)", err); in usb_test_enable() 130 zassert_equal(err, 0, "Failed to add configuration (%d)"); in usb_test_enable() [all …]
|
/Zephyr-latest/tests/subsys/fs/littlefs/src/ |
D | test_lfs_basic.c | 32 "mount failed"); in mount() 43 "failed to wipe partition"); in clear_partition() 55 "statvfs failed"); in clean_statvfs() 78 "clear partition failed"); in check_medium() 81 "medium mount failed"); in check_medium() 84 "statvfs failed"); in check_medium() 99 "medium unmount failed"); in check_medium() 110 "clear partition failed"); in check_large() 113 "large mount failed"); in check_large() 116 "statvfs failed"); in check_large() [all …]
|
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/ |
D | test_gpio_port.c | 26 "raw_in failed"); in raw_in() 41 "logic_in failed"); in logic_in() 56 "raw_out failed"); in raw_out() 70 "raw_out failed"); in logic_out() 88 zassert_equal(rc, 0, "pin config input failed"); in setup() 93 "pin config output low failed"); in setup() 97 "get raw low failed"); in setup() 115 "output disconnect failed"); in setup() 124 "pin config output high failed"); in setup() 128 "get raw high failed"); in setup() [all …]
|
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 185 zassert_equal(ret, 0, "bind failed, %d", errno); in test_so_bindtodevice() 192 zassert_equal(ret, 0, "SO_BINDTODEVICE failed, %d", errno); in test_so_bindtodevice() 203 zassert_equal(ret, 0, "SO_BINDTODEVICE failed, %d", errno); in test_so_bindtodevice() 207 zassert_equal(ret, strlen(send_buf) + 1, "sendto failed, %d", errno); in test_so_bindtodevice() 228 zassert_equal(ret, 0, "SO_BINDTODEVICE failed, %d", errno); in test_so_bindtodevice() 232 zassert_equal(ret, strlen(send_buf) + 1, "sendto failed, %d", errno); in test_so_bindtodevice() 247 zassert_true(ret > 0, "recv failed, %d", errno); in test_so_bindtodevice() 256 zassert_equal(ret, 0, "SO_BINDTODEVICE failed, %d", errno); in test_so_bindtodevice() 266 zassert_equal(ret, 0, "SO_BINDTODEVICE failed, %d", errno); in test_so_bindtodevice() 270 zassert_equal(ret, strlen(send_buf) + 1, "sendto failed, %d", errno); in test_so_bindtodevice() [all …]
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | main.c | 198 zassert_true((ret == 0), "memset buffer a failed"); in ZTEST() 213 zassert_equal(strlen(buffer), 5, "strlen failed"); in ZTEST() 215 zassert_equal(strnlen(buffer, 3), 3, "strnlen failed"); in ZTEST() 216 zassert_equal(strnlen(buffer, BUFSIZE), 5, "strnlen failed"); in ZTEST() 238 zassert_true((strncasecmp(&test, &test, 1) == 0), "strncasecmp failed"); in ZTEST() 363 zassert_true((ret == 0), "memcmp four characters failed"); in ZTEST() 366 zassert_true((ret != 0), "memcmp five characters failed"); in ZTEST() 369 zassert_true((ret == 0), "memcmp zero character failed"); in ZTEST() 372 zassert_true((ret != 0), "memcmp 2 block of memory failed"); in ZTEST() 581 0, "memcpy failed"); in ZTEST() [all …]
|
/Zephyr-latest/tests/posix/common/src/ |
D | key.c | 28 zassert_ok(pthread_setspecific(key, value), "pthread_setspecific failed"); in thread_top() 43 zassert_ok(pthread_setspecific(keys[i], value), "pthread_setspecific failed"); in thread_func() 82 zassert_ok(pthread_once(&key_once, make_key), "attempt to create key failed"); in ZTEST() 88 "attempt to create thread %d failed", i); in ZTEST() 92 zassert_ok(pthread_join(newthread[i], &retval), "failed to join thread %d", i); in ZTEST() 95 zassert_ok(pthread_key_delete(key), "attempt to delete key failed"); in ZTEST() 102 zassert_ok(pthread_once(&keys_once, make_keys), "attempt to create keys failed"); in ZTEST() 107 "attempt to create thread failed"); in ZTEST() 109 zassert_ok(pthread_join(newthread, NULL), "failed to join thread"); in ZTEST() 112 zassert_ok(pthread_key_delete(keys[i]), "attempt to delete keys[%d] failed", i); in ZTEST() [all …]
|
/Zephyr-latest/drivers/sensor/sensirion/scd4x/ |
D | scd4x.c | 55 LOG_ERR("Failed to read i2c data."); in scd4x_read_reg() 88 LOG_ERR("Failed to write i2c data."); in scd4x_write_reg() 106 LOG_ERR("Failed to write get_data_ready_status command."); in scd4x_data_ready() 112 LOG_ERR("Failed to read get_data_ready_status register."); in scd4x_data_ready() 133 LOG_ERR("Failed to write read_measurement command."); in scd4x_read_sample() 139 LOG_ERR("Failed to read read_measurement register."); in scd4x_read_sample() 159 LOG_ERR("Failed to write start_periodic_measurement command."); in scd4x_setup_measurement() 166 LOG_ERR("Failed to write start_low_power_periodic_measurement command."); in scd4x_setup_measurement() 173 LOG_ERR("Failed to write power_down command."); in scd4x_setup_measurement() 193 LOG_ERR("Failed write wake_up command."); in scd4x_set_idle_mode() [all …]
|
/Zephyr-latest/tests/lib/mem_blocks/src/ |
D | main.c | 140 "sys_mem_blocks_alloc failed (%d)", ret); in alloc_free() 149 "sys_mem_blockss_alloc bitmap failed"); in alloc_free() 180 "sys_mem_blocks_free failed (%d)", ret); in alloc_free() 186 "sys_mem_blocks_free bitmap failed"); in alloc_free() 249 "sys_mem_blocks_get failed (%d)", ret); in ZTEST() 260 "sys_mem_blocks_get bitmap failed, bit %i should be set", i); in ZTEST() 264 "sys_mem_blocks_get bitmap failed, bit %i should be cleared", i); in ZTEST() 273 "sys_mem_blocks_get failed (%d), memory block taken twice", ret); in ZTEST() 284 "sys_mem_blocks_get bitmap failed, bit %i should be set", i); in ZTEST() 288 "sys_mem_blocks_get bitmap failed, bit %i should be cleared", i); in ZTEST() [all …]
|
/Zephyr-latest/tests/net/socket/ |
D | socket_helpers.h | 26 zassert_true(ret >= 0, "socket open failed"); in prepare_listen_sock_udp_v4() 33 zassert_equal(ret, 0, "bind failed (%d/%d)", ret, errno); in prepare_listen_sock_udp_v4() 45 zassert_true(ret >= 0, "socket open failed"); in prepare_listen_sock_udp_v6() 52 zassert_equal(ret, 0, "bind failed (%d/%d)", ret, errno); in prepare_listen_sock_udp_v6() 67 zassert_true(*sock >= 0, "socket open failed"); in prepare_sock_udp_v4() 72 zassert_equal(rv, 1, "inet_pton failed"); in prepare_sock_udp_v4() 85 zassert_true(*sock >= 0, "socket open failed"); in prepare_sock_udp_v6() 91 zassert_equal(rv, 1, "inet_pton failed"); in prepare_sock_udp_v6() 104 zassert_true(*sock >= 0, "socket open failed"); in prepare_sock_tcp_v4() 109 zassert_equal(rv, 1, "inet_pton failed"); in prepare_sock_tcp_v4() [all …]
|
/Zephyr-latest/tests/drivers/smbus/smbus_api/src/ |
D | test_smbus.c | 36 zassert_ok(ret, "SMBUS config failed"); in ZTEST_USER() 39 zassert_ok(ret, "SMBUS get_config failed"); in ZTEST_USER() 67 zassert_equal(ret, -ENOENT, "Callback remove failed"); in ZTEST() 69 zassert_equal(ret, -ENOSYS, "Check for ENOSYS failed"); in ZTEST() 75 zassert_ok(ret, "Callback set failed"); in ZTEST() 77 zassert_equal(ret, -ENOSYS, "Check for ENOSYS failed"); in ZTEST() 83 zassert_ok(ret, "Callback remove failed"); in ZTEST() 85 zassert_equal(ret, -ENOSYS, "Check for ENOSYS failed"); in ZTEST() 112 zassert_equal(ret, -ENOENT, "Callback remove failed"); in ZTEST() 114 zassert_equal(ret, -ENOSYS, "Check for ENOSYS failed"); in ZTEST() [all …]
|
/Zephyr-latest/tests/posix/spinlocks/src/ |
D | main.c | 23 zassert_ok(pthread_spin_init(&lock, PTHREAD_PROCESS_PRIVATE), "pthread_spin_init() failed"); in ZTEST() 24 zassert_ok(pthread_spin_destroy(&lock), "pthread_spin_destroy() failed"); in ZTEST() 34 "failed to initialize spinlock %zu (rep %zu)", i, j); in ZTEST() 45 "failed to destroy spinlock %zu (rep %zu)", i, j); in ZTEST() 61 zassert_ok(pthread_spin_init(&lock, PTHREAD_PROCESS_PRIVATE), "pthread_spin_init() failed"); in ZTEST() 63 zassert_ok(pthread_spin_lock(&lock), "pthread_spin_lock() failed"); in ZTEST() 64 zassert_ok(pthread_spin_unlock(&lock), "pthread_spin_lock() failed"); in ZTEST() 66 zassert_ok(pthread_spin_trylock(&lock), "pthread_spin_trylock() failed"); in ZTEST() 67 zassert_ok(pthread_spin_unlock(&lock), "pthread_spin_unlock() failed"); in ZTEST() 69 zassert_ok(pthread_spin_destroy(&lock), "pthread_spin_init() failed"); in ZTEST()
|
/Zephyr-latest/tests/subsys/fs/ext2/src/ |
D | testfs_open_flags.c | 22 zassert_equal(fs_mount(mp), 0, "Failed to mount partition"); in ZTEST() 26 zassert_equal(fs_unmount(mp), 0, "Failed to unmount partition"); in ZTEST() 42 zassert_equal(ret, 0, "Failed to mkfs with 2K blocks"); in ZTEST() 45 zassert_equal(fs_mount(mp), 0, "Failed to mount partition"); in ZTEST() 49 zassert_equal(fs_unmount(mp), 0, "Failed to unmount partition"); in ZTEST() 66 zassert_equal(ret, 0, "Failed to mkfs with 2K blocks"); in ZTEST() 69 zassert_equal(fs_mount(mp), 0, "Failed to mount partition"); in ZTEST() 73 zassert_equal(fs_unmount(mp), 0, "Failed to unmount partition"); in ZTEST()
|
/Zephyr-latest/drivers/sensor/tdk/mpu9250/ |
D | ak8963.c | 110 LOG_ERR("Failed to write i2c target slave address."); in ak8963_execute_rw() 119 LOG_ERR("Failed to write i2c target slave register."); in ak8963_execute_rw() 128 LOG_ERR("Failed to initiate i2c slave transfer."); in ak8963_execute_rw() 137 LOG_ERR("Waiting for slave failed."); in ak8963_execute_rw() 153 LOG_ERR("Failed to prepare transfer."); in ak8963_read_reg() 161 LOG_ERR("Failed to read data from slave."); in ak8963_read_reg() 177 LOG_ERR("Failed to write data to slave."); in ak8963_write_reg() 184 LOG_ERR("Failed to transfer write to slave."); in ak8963_write_reg() 198 LOG_ERR("Failed to set AK8963 mode."); in ak8963_set_mode() 234 LOG_ERR("Failed to set chip in fuse access mode."); in ak8963_fetch_adj() [all …]
|
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/ |
D | test_i2s_loopback.c | 42 zassert_equal(ret, 0, "RX START trigger failed"); in ZTEST_USER() 46 zassert_equal(ret, 0, "TX START trigger failed"); in ZTEST_USER() 58 zassert_equal(ret, 0, "TX DRAIN trigger failed"); in ZTEST_USER() 66 zassert_equal(ret, 0, "RX STOP trigger failed"); in ZTEST_USER() 103 zassert_equal(ret, 0, "RX START trigger failed"); in ZTEST_USER() 107 zassert_equal(ret, 0, "TX START trigger failed"); in ZTEST_USER() 119 zassert_equal(ret, 0, "TX DRAIN trigger failed"); in ZTEST_USER() 123 zassert_equal(ret, 0, "RX STOP trigger failed"); in ZTEST_USER() 163 zassert_equal(ret, 0, "TX START trigger failed"); in ZTEST_USER() 169 zassert_equal(ret, 0, "RX START trigger failed"); in ZTEST_USER() [all …]
|
/Zephyr-latest/tests/boards/altera_max10/qspi/src/ |
D | qspi_flash.c | 35 TC_PASS, "Flash erase call failed!"); in ZTEST() 38 TC_PASS, "Flash read call failed!"); in ZTEST() 42 "Flash Erase Test failed!!"); in ZTEST() 51 TC_PASS, "Flash write call failed!"); in ZTEST() 54 TC_PASS, "Flash read call failed!"); in ZTEST() 56 "Flash Write & Read Test failed!!"); in ZTEST() 64 TC_PASS, "Flash write call failed!"); in ZTEST() 67 TC_PASS, "Flash read call failed!"); in ZTEST() 69 TC_PASS, "Flash Write & Read Test failed!!"); in ZTEST()
|
/Zephyr-latest/tests/drivers/gpio/gpio_nrf/src/ |
D | main.c | 33 "Failed to configure the pin as an P-P output with drive: NRF_GPIO_DRIVE_S0H1, err=%d", in ZTEST() 39 "Failed to configure the pin as an P-P output with drive: NRF_GPIO_DRIVE_H0S1, err=%d", in ZTEST() 45 "Failed to configure the pin as an P-P output with drive: NRF_GPIO_DRIVE_H0H1, err=%d", in ZTEST() 51 "Failed to configure the pin as an O-D output with drive: NRF_GPIO_DRIVE_H0S1, err=%d", in ZTEST() 57 "Failed to configure the pin as an O-S output with drive: NRF_GPIO_DRIVE_S0H1, err=%d", in ZTEST() 74 zassert_ok(response, "Pin configuration failed: %d", response); in ZTEST() 77 zassert_ok(response, "Pin low state set failed: %d", response); in ZTEST() 80 zassert_ok(response, "Pin high state set failed: %d", response); in ZTEST() 83 zassert_ok(response, "Pin toggle failed: %d", response); in ZTEST() 86 zassert_ok(response, "Failed to configure pin as input with pull down: %d", response); in ZTEST()
|
/Zephyr-latest/tests/net/context/src/ |
D | main.c | 82 "Invalid family test failed"); in ZTEST() 86 "Invalid context type test failed "); in ZTEST() 90 "Invalid context protocol test failed"); in ZTEST() 94 "Invalid context family test failed"); in ZTEST() 98 "Invalid context proto type test failed"); in ZTEST() 102 "Invalid context proto value test failed"); in ZTEST() 106 "Invalid context value test failed "); in ZTEST() 116 "Context get test failed"); in ZTEST() 121 "Context put test failed"); in ZTEST() 124 "Context put check test failed"); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/df/connectionless_cte_tx/src/ |
D | common.c | 42 zassert_equal(err, 0, "Failed to create advertiser set"); in common_create_adv_set() 50 zassert_equal(err, 0, "Failed to delete advertiser set"); in common_delete_adv_set() 64 zassert_not_null(buf, "Failed to create HCI cmd object"); in common_set_cl_cte_tx_params() 79 zassert_equal(err, 0, "Failed to set CTE parameters"); in common_set_cl_cte_tx_params() 87 zassert_equal(err, 0, "Failed to set periodic advertising params"); in common_set_adv_params() 95 zassert_equal(err, 0, "Failed to start periodic advertising"); in common_per_adv_enable() 98 zassert_equal(err, 0, "Failed to start extended advertising"); in common_per_adv_enable() 106 zassert_equal(err, 0, "Failed to stop periodic advertising"); in common_per_adv_disable() 109 zassert_equal(err, 0, "Failed to stop extended advertising"); in common_per_adv_disable()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | pbp_public_broadcast_source_test.c | 76 FAIL("Failed to register stream %p for TX: %d\n", stream, err); in started_cb() 91 FAIL("Failed to unregister stream %p for TX: %d\n", stream, err); in stopped_cb() 141 printk("Failed to create public broadcast announcement!: %d\n", err); in setup_extended_adv_data() 151 printk("Failed to set extended advertising data: %d\n", err); in setup_extended_adv_data() 159 printk("Failed to get encoded BASE: %d\n", err); in setup_extended_adv_data() 169 printk("Failed to set periodic advertising data: %d\n", err); in setup_extended_adv_data() 184 printk("Failed to start extended advertising: %d\n", err); in start_extended_adv() 192 printk("Failed to enable periodic advertising: %d\n", err); in start_extended_adv() 215 printk("Failed to set periodic advertising parameters: %d\n", err); in setup_extended_adv() 229 printk("Failed to stop periodic advertising: %d\n", err); in stop_extended_adv() [all …]
|
/Zephyr-latest/drivers/sensor/ist8310/ |
D | ist8310.c | 44 LOG_ERR("failed to read status register 1"); in ist8310_sample_fetch() 51 LOG_ERR("failed to set single"); in ist8310_sample_fetch() 58 LOG_ERR("failed to read mag values"); in ist8310_sample_fetch() 67 LOG_ERR("failed to set single"); in ist8310_sample_fetch() 112 LOG_ERR("failed reading chip id"); in ist8310_init_chip() 117 LOG_ERR("failed reading chip id"); in ist8310_init_chip() 122 LOG_ERR("failed reading chip id"); in ist8310_init_chip() 132 LOG_ERR("failed reading chip reg2"); in ist8310_init_chip() 139 LOG_ERR("failed to set REG2 to %d", reg); in ist8310_init_chip() 146 LOG_ERR("failed reading chip reg3"); in ist8310_init_chip() [all …]
|