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()
152 TEST_ASSERT(ret && errno == ENXIO, "attribute not supported"); in subtest_dist_rdist()
158 TEST_ASSERT(ret && errno == EINVAL, "GIC dist base not aligned"); in subtest_dist_rdist()
163 TEST_ASSERT(ret && errno == EINVAL, "GIC redist/cpu base not aligned"); in subtest_dist_rdist()
169 TEST_ASSERT(ret && errno == E2BIG, "dist address beyond IPA limit"); in subtest_dist_rdist()
173 TEST_ASSERT(ret && errno == E2BIG, "redist address beyond IPA limit"); in subtest_dist_rdist()
179 TEST_ASSERT(ret && errno == E2BIG, in subtest_dist_rdist()
191 TEST_ASSERT(ret && errno == EEXIST, "GIC redist base set again"); in subtest_dist_rdist()
200 TEST_ASSERT(ret && errno == EINVAL, in subtest_dist_rdist()
221 TEST_ASSERT(!ret, "Multiple redist regions advertised"); in subtest_v3_redist_regions()
226 TEST_ASSERT(ret && errno == EINVAL, "redist region attr value with flags != 0"); in subtest_v3_redist_regions()
231 TEST_ASSERT(ret && errno == EINVAL, "redist region attr value with count== 0"); in subtest_v3_redist_regions()
236 TEST_ASSERT(ret && errno == EINVAL, in subtest_v3_redist_regions()
242 TEST_ASSERT(ret && errno == EINVAL, "rdist region with misaligned address"); in subtest_v3_redist_regions()
251 TEST_ASSERT(ret && errno == EINVAL, "register an rdist region with already used index"); in subtest_v3_redist_regions()
256 TEST_ASSERT(ret && errno == EINVAL, in subtest_v3_redist_regions()
262 TEST_ASSERT(ret && errno == EINVAL, "register redist region with index not +1"); in subtest_v3_redist_regions()
271 TEST_ASSERT(ret && errno == E2BIG, in subtest_v3_redist_regions()
278 TEST_ASSERT(ret && errno == E2BIG, in subtest_v3_redist_regions()
284 TEST_ASSERT(ret && errno == EINVAL, in subtest_v3_redist_regions()
298 TEST_ASSERT(!ret && addr == expected_addr, "read characteristics of region #0"); in subtest_v3_redist_regions()
304 TEST_ASSERT(!ret && addr == expected_addr, "read characteristics of region #1"); in subtest_v3_redist_regions()
309 TEST_ASSERT(ret && errno == ENOENT, "read characteristics of non existing region"); in subtest_v3_redist_regions()
318 TEST_ASSERT(ret && errno == EINVAL, "register redist region colliding with dist"); in subtest_v3_redist_regions()
340 TEST_ASSERT(ret == -EINVAL, "dist/rdist overlap detected on 1st vcpu run"); in test_vgic_then_vcpus()
357 TEST_ASSERT(ret == -EINVAL, "dist/rdist overlap detected on 1st vcpu run"); in test_vcpus_then_vgic()
376 TEST_ASSERT(ret == -ENXIO, "running without sufficient number of rdists"); in test_v3_new_redist_regions()
389 TEST_ASSERT(ret == -EBUSY, "running without vgic explicit init"); in test_v3_new_redist_regions()
400 TEST_ASSERT(ret && errno == EFAULT, in test_v3_new_redist_regions()
411 TEST_ASSERT(!ret, "vcpu run"); in test_v3_new_redist_regions()
458 TEST_ASSERT(ret && errno == EINVAL, "collision with previous rdist region"); in test_v3_typer_accesses()
587 TEST_ASSERT(ret && errno == EINVAL, in test_v3_redist_ipa_range_check_at_vcpu_run()
606 TEST_ASSERT(ret && errno == EINVAL, in test_v3_its_region()
612 TEST_ASSERT(ret && errno == E2BIG, in test_v3_its_region()
618 TEST_ASSERT(ret && errno == E2BIG, in test_v3_its_region()
629 TEST_ASSERT(ret && errno == EEXIST, "ITS base set again"); in test_v3_its_region()
649 TEST_ASSERT(ret && errno == ENODEV, "unsupported device"); in test_kvm_device()
658 TEST_ASSERT(ret < 0 && errno == EEXIST, "create GIC device twice"); in test_kvm_device()
666 TEST_ASSERT(ret < 0 && (errno == EINVAL || errno == EEXIST), in test_kvm_device()