/Zephyr-latest/tests/posix/shm/src/ |
D | main.c | 47 zassert_not_ok(shm_open(NULL, INVALID_FLAGS, INVALID_MODE)); in ZTEST() 48 zassert_not_ok(shm_open(NULL, INVALID_FLAGS, VALID_MODE)); in ZTEST() 49 zassert_not_ok(shm_open(NULL, VALID_FLAGS, INVALID_MODE)); in ZTEST() 50 zassert_not_ok(shm_open(NULL, VALID_FLAGS, VALID_MODE)); in ZTEST() 51 zassert_not_ok(shm_open(INVALID_SHM_PATH, VALID_FLAGS, VALID_MODE)); in ZTEST() 52 zassert_not_ok(shm_open(EMPTY_SHM_PATH, VALID_FLAGS, VALID_MODE)); in ZTEST() 53 zassert_not_ok(shm_open(TOO_SHORT_SHM_PATH, VALID_FLAGS, VALID_MODE)); in ZTEST() 54 zassert_not_ok(shm_open(VALID_SHM_PATH, INVALID_FLAGS, INVALID_MODE)); in ZTEST() 55 zassert_not_ok(shm_open(VALID_SHM_PATH, INVALID_FLAGS, VALID_MODE)); in ZTEST() 56 zassert_not_ok(shm_open(VALID_SHM_PATH, VALID_FLAGS, INVALID_MODE)); in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/display/cfb/basic/src/ |
D | invert_area.c | 72 zassert_not_ok(err, "out of rect"); in ZTEST() 80 zassert_not_ok(err, "out of rect"); in ZTEST() 88 zassert_not_ok(err, "out of rect"); in ZTEST() 104 zassert_not_ok(cfb_invert_area(dev, -10, -10, 10, 10), "out of rect"); in ZTEST() 109 zassert_not_ok(cfb_invert_area(dev, display_width, display_height, 20, 20), "out of rect"); in ZTEST()
|
/Zephyr-latest/tests/posix/fs/src/ |
D | test_fs_dir.c | 177 zassert_not_ok(rmdir(TEST_DIR), "Error Non empty dir removed"); in ZTEST() 178 zassert_not_ok(rmdir(""), "Error Invalid path removed"); in ZTEST() 179 zassert_not_ok(rmdir(NULL), "Error Invalid path removed"); in ZTEST() 180 zassert_not_ok(rmdir("TEST_DIR."), "Error Invalid path removed"); in ZTEST() 181 zassert_not_ok(rmdir(TEST_FILE), "Error file removed"); in ZTEST()
|
/Zephyr-latest/tests/drivers/video/api/src/ |
D | video_common.c | 62 zassert_not_ok(ret, "expecting 1 above maximum width to mismatch"); in ZTEST() 68 zassert_not_ok(ret, "expecting 1 above maximum height to mismatch"); in ZTEST() 74 zassert_not_ok(ret); in ZTEST() 75 zassert_not_ok(ret, "expecting wrong format to mismatch"); in ZTEST() 83 zassert_not_ok(ret, "expecting wrong format to mismatch"); in ZTEST()
|
/Zephyr-latest/tests/posix/common/src/ |
D | mutex.c | 63 zassert_not_ok(pthread_mutexattr_getprotocol(NULL, &protocol)); in test_mutex_common() 64 zassert_not_ok(pthread_mutexattr_getprotocol(&mut_attr, NULL)); in test_mutex_common() 65 zassert_not_ok(pthread_mutexattr_getprotocol(NULL, NULL)); in test_mutex_common() 67 zassert_not_ok(pthread_mutexattr_setprotocol(&mut_attr, PTHREAD_PRIO_INHERIT)); in test_mutex_common() 68 zassert_not_ok(pthread_mutexattr_setprotocol(&mut_attr, PTHREAD_PRIO_PROTECT)); in test_mutex_common()
|
D | mqueue.c | 253 zassert_not_ok(mq_notify(NULL, NULL), "Should return -1 and set errno to EBADF."); in ZTEST() 258 zassert_not_ok(mq_notify(mqd, NULL), "Should return -1 and set errno to EINVAL."); in ZTEST() 261 zassert_not_ok(mq_notify(mqd, ¬), "SIGEV_SIGNAL not supported should return -1."); in ZTEST() 269 zassert_not_ok(mq_notify(mqd, ¬), in ZTEST()
|
D | pthread_attr.c | 48 zassert_not_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry() 58 zassert_not_ok(pthread_join(th, NULL)); in create_thread_common_entry() 552 zassert_not_ok( in ZTEST() 554 zassert_not_ok( in ZTEST()
|
/Zephyr-latest/tests/drivers/comparator/shell/src/ |
D | test.c | 287 zassert_not_ok(ret); in ZTEST() 291 zassert_not_ok(ret); in ZTEST() 295 zassert_not_ok(ret); in ZTEST()
|
/Zephyr-latest/tests/net/lib/coap_client/src/ |
D | main.c | 745 zassert_not_ok(k_sem_take(&sem1, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST() 816 zassert_not_ok(k_sem_take(&sem1, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST() 846 zassert_not_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST() 850 zassert_not_ok(k_sem_take(&sem1, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST() 877 zassert_not_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST() 887 zassert_not_ok(k_sem_take(&sem1, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST() 888 zassert_not_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST() 936 zassert_not_ok(k_sem_take(&sem1, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()
|
/Zephyr-latest/tests/posix/eventfd/src/ |
D | ioctl.c | 82 zassert_not_ok(ret); in ZTEST_F()
|
/Zephyr-latest/tests/posix/xsi_threads_ext/src/ |
D | main.c | 50 zassert_not_ok(pthread_create(&th, attrp, entry, arg)); in create_thread_common_entry() 60 zassert_not_ok(pthread_join(th, NULL)); in create_thread_common_entry()
|
/Zephyr-latest/tests/ztest/base/src/ |
D | main.c | 23 zassert_not_ok(-EIO); in ZTEST()
|
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/ |
D | ztest_assert.h | 296 #define zassert_not_ok(cond, ...) zassert(!!(cond), #cond " is zero", ##__VA_ARGS__) macro
|
/Zephyr-latest/tests/posix/signals/src/ |
D | main.c | 312 zassert_not_ok(sigprocmask(SIG_SETMASK, NULL, NULL)); in ZTEST()
|
/Zephyr-latest/tests/net/lib/http_server/core/src/ |
D | main.c | 2168 zassert_not_ok(http_server_start(), "Server start should report na error."); in ZTEST() 2171 zassert_not_ok(http_server_stop(), "Server stop should report na error."); in ZTEST()
|
/Zephyr-latest/tests/lib/net_buf/buf/src/ |
D | main.c | 853 zassert_not_ok(net_buf_user_data_copy(buf_user_data_small, buf_user_data_big), in ZTEST()
|