Lines Matching refs:TEST_ASSERT

46 	TEST_ASSERT(ret && errno == want, "%s; want errno = %d", msg, want);  in v3_redist_reg_get_errno()
56 TEST_ASSERT(val == want, "%s; want '0x%x', got '0x%x'", msg, want, val); in v3_redist_reg_get()
150 TEST_ASSERT(ret && errno == ENXIO, "attribute not supported"); in subtest_dist_rdist()
156 TEST_ASSERT(ret && errno == EINVAL, "GIC dist base not aligned"); in subtest_dist_rdist()
161 TEST_ASSERT(ret && errno == EINVAL, "GIC redist/cpu base not aligned"); in subtest_dist_rdist()
167 TEST_ASSERT(ret && errno == E2BIG, "dist address beyond IPA limit"); in subtest_dist_rdist()
171 TEST_ASSERT(ret && errno == E2BIG, "redist address beyond IPA limit"); in subtest_dist_rdist()
177 TEST_ASSERT(ret && errno == E2BIG, in subtest_dist_rdist()
189 TEST_ASSERT(ret && errno == EEXIST, "GIC redist base set again"); in subtest_dist_rdist()
198 TEST_ASSERT(ret && errno == EINVAL, in subtest_dist_rdist()
219 TEST_ASSERT(!ret, "Multiple redist regions advertised"); in subtest_v3_redist_regions()
224 TEST_ASSERT(ret && errno == EINVAL, "redist region attr value with flags != 0"); in subtest_v3_redist_regions()
229 TEST_ASSERT(ret && errno == EINVAL, "redist region attr value with count== 0"); in subtest_v3_redist_regions()
234 TEST_ASSERT(ret && errno == EINVAL, in subtest_v3_redist_regions()
240 TEST_ASSERT(ret && errno == EINVAL, "rdist region with misaligned address"); in subtest_v3_redist_regions()
249 TEST_ASSERT(ret && errno == EINVAL, "register an rdist region with already used index"); in subtest_v3_redist_regions()
254 TEST_ASSERT(ret && errno == EINVAL, in subtest_v3_redist_regions()
260 TEST_ASSERT(ret && errno == EINVAL, "register redist region with index not +1"); in subtest_v3_redist_regions()
269 TEST_ASSERT(ret && errno == E2BIG, in subtest_v3_redist_regions()
276 TEST_ASSERT(ret && errno == E2BIG, in subtest_v3_redist_regions()
282 TEST_ASSERT(ret && errno == EINVAL, in subtest_v3_redist_regions()
296 TEST_ASSERT(!ret && addr == expected_addr, "read characteristics of region #0"); in subtest_v3_redist_regions()
302 TEST_ASSERT(!ret && addr == expected_addr, "read characteristics of region #1"); in subtest_v3_redist_regions()
307 TEST_ASSERT(ret && errno == ENOENT, "read characteristics of non existing region"); in subtest_v3_redist_regions()
316 TEST_ASSERT(ret && errno == EINVAL, "register redist region colliding with dist"); in subtest_v3_redist_regions()
338 TEST_ASSERT(ret == -EINVAL, "dist/rdist overlap detected on 1st vcpu run"); in test_vgic_then_vcpus()
355 TEST_ASSERT(ret == -EINVAL, "dist/rdist overlap detected on 1st vcpu run"); in test_vcpus_then_vgic()
374 TEST_ASSERT(ret == -ENXIO, "running without sufficient number of rdists"); in test_v3_new_redist_regions()
387 TEST_ASSERT(ret == -EBUSY, "running without vgic explicit init"); in test_v3_new_redist_regions()
398 TEST_ASSERT(ret && errno == EFAULT, in test_v3_new_redist_regions()
409 TEST_ASSERT(!ret, "vcpu run"); in test_v3_new_redist_regions()
456 TEST_ASSERT(ret && errno == EINVAL, "collision with previous rdist region"); in test_v3_typer_accesses()
585 TEST_ASSERT(ret && errno == EINVAL, in test_v3_redist_ipa_range_check_at_vcpu_run()
604 TEST_ASSERT(ret && errno == EINVAL, in test_v3_its_region()
610 TEST_ASSERT(ret && errno == E2BIG, in test_v3_its_region()
616 TEST_ASSERT(ret && errno == E2BIG, in test_v3_its_region()
627 TEST_ASSERT(ret && errno == EEXIST, "ITS base set again"); in test_v3_its_region()
647 TEST_ASSERT(ret && errno == ENODEV, "unsupported device"); in test_kvm_device()
656 TEST_ASSERT(ret < 0 && errno == EEXIST, "create GIC device twice"); in test_kvm_device()
664 TEST_ASSERT(ret < 0 && (errno == EINVAL || errno == EEXIST), in test_kvm_device()