Searched refs:__TEST_REQUIRE (Results 1 – 13 of 13) sorted by relevance
/openbmc/linux/tools/testing/selftests/kvm/include/ |
H A D | test_util.h | 37 #define __TEST_REQUIRE(f, fmt, ...) \ macro 43 #define TEST_REQUIRE(f) __TEST_REQUIRE(f, "Requirement not met: %s", #f)
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | access_tracking_perf_test.c | 106 __TEST_REQUIRE(pfn, "Looking up PFNs requires CAP_SYS_ADMIN"); in lookup_pfn() 387 __TEST_REQUIRE(page_idle_fd >= 0, in main()
|
H A D | kvm_create_max_vcpus.c | 67 __TEST_REQUIRE(r >= 0, in main()
|
H A D | system_counter_offset_test.c | 31 __TEST_REQUIRE(!__vcpu_has_device_attr(vcpu, KVM_VCPU_TSC_CTRL, in check_preconditions()
|
H A D | rseq_test.c | 185 __TEST_REQUIRE(cnt >= 2, in calc_min_max_cpu()
|
H A D | get-reg-list.c | 153 __TEST_REQUIRE(kvm_has_cap(s->capability), in check_supported()
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A D | arch_timer.c | 395 __TEST_REQUIRE(gic_fd >= 0, "Failed to create vgic-v3"); in test_vm_create() 472 __TEST_REQUIRE(!test_args.migration_freq_ms || get_nprocs() >= 2, in main()
|
H A D | debug-exceptions.c | 543 __TEST_REQUIRE(brp_num >= 2, "At least two breakpoints are required"); in test_guest_debug_exceptions_all() 587 __TEST_REQUIRE(debug_version(aa64dfr0) >= 6, in main()
|
H A D | vgic_irq.c | 769 __TEST_REQUIRE(gic_fd >= 0, "Failed to create vgic-v3, skipping"); in test_vgic()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | nx_huge_pages_test.c | 259 __TEST_REQUIRE(token == MAGIC_TOKEN, in main()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | processor.c | 722 __TEST_REQUIRE(0, "KVM_X86_XCOMP_GUEST_SUPP not supported"); in __vm_xsave_require_permission() 726 __TEST_REQUIRE(bitmask & xfeature, in __vm_xsave_require_permission()
|
/openbmc/linux/tools/testing/selftests/kvm/riscv/ |
H A D | get-reg-list.c | 110 __TEST_REQUIRE(vcpu_has_ext(vcpu, s->feature), in finalize_vcpu()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | kvm_util.c | 30 __TEST_REQUIRE(fd >= 0, "%s not available (errno: %d)", path, errno); in open_path_or_exit()
|