D | ivshmem.c | 4 * SPDX-License-Identifier: Apache-2.0 16 size_t size; in ZTEST() local 25 size = ivshmem_get_mem(ivshmem, &mem); in ZTEST() 26 zassert_not_equal(size, 0, "Size cannot not be 0"); in ZTEST() 27 zassert_not_null((void *)mem, "Shared memory cannot be null"); in ZTEST() 30 zassert_equal(id, 0, "ID should be 0 on ivshmem-plain"); in ZTEST() 36 "Could not r/w to the shared memory"); in ZTEST() 38 /* Quickly verifying that non-plain features return proper code */ in ZTEST() 40 zassert_equal(vectors, 0, "ivshmem-plain cannot have vectors"); in ZTEST() 43 zassert_equal(ret, -ENOSYS, in ZTEST() [all …]
|