Searched refs:__TEST_REQUIRE (Results 1 – 20 of 20) sorted by relevance
| /tools/testing/selftests/kvm/include/ |
| A D | test_util.h | 39 #define __TEST_REQUIRE(f, fmt, ...) \ macro 45 #define TEST_REQUIRE(f) __TEST_REQUIRE(f, "Requirement not met: %s", #f)
|
| /tools/testing/selftests/kvm/riscv/ |
| A D | sbi_pmu_test.c | 562 __TEST_REQUIRE(__vcpu_has_sbi_ext(vcpu, KVM_RISCV_SBI_EXT_PMU), in test_vm_basic_test() 580 __TEST_REQUIRE(__vcpu_has_sbi_ext(vcpu, KVM_RISCV_SBI_EXT_PMU), in test_vm_events_test() 606 __TEST_REQUIRE(__vcpu_has_sbi_ext(vcpu, KVM_RISCV_SBI_EXT_PMU), in test_vm_events_snapshot_test() 622 __TEST_REQUIRE(__vcpu_has_sbi_ext(vcpu, KVM_RISCV_SBI_EXT_PMU), in test_vm_events_overflow() 625 __TEST_REQUIRE(__vcpu_has_isa_ext(vcpu, KVM_RISCV_ISA_EXT_SSCOFPMF), in test_vm_events_overflow()
|
| A D | arch_timer.c | 86 __TEST_REQUIRE(__vcpu_has_isa_ext(vcpus[0], KVM_RISCV_ISA_EXT_SSTC), in test_vm_create()
|
| A D | get-reg-list.c | 239 __TEST_REQUIRE(__vcpu_has_ext(vcpu, feature), in finalize_vcpu()
|
| /tools/testing/selftests/kvm/ |
| A D | system_counter_offset_test.c | 31 __TEST_REQUIRE(!__vcpu_has_device_attr(vcpu, KVM_VCPU_TSC_CTRL, in check_preconditions()
|
| A D | rseq_test.c | 192 __TEST_REQUIRE(cnt >= 2, in calc_min_max_cpu()
|
| A D | arch_timer.c | 244 __TEST_REQUIRE(!test_args.migration_freq_ms || get_nprocs() >= 2, in main()
|
| A D | get-reg-list.c | 154 __TEST_REQUIRE(kvm_has_cap(s->capability), in check_supported()
|
| A D | access_tracking_perf_test.c | 136 __TEST_REQUIRE(pfn, "Looking up PFNs requires CAP_SYS_ADMIN"); in lookup_pfn()
|
| /tools/testing/selftests/kvm/arm64/ |
| A D | no-vgic-v3.c | 168 __TEST_REQUIRE(FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_GIC), pfr0), in main()
|
| A D | arch_timer.c | 208 __TEST_REQUIRE(gic_fd >= 0, "Failed to create vgic-v3"); in test_vm_create()
|
| 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()
|
| A D | vgic_lpi_stress.c | 218 __TEST_REQUIRE(gic_fd >= 0, "Failed to create GICv3"); in setup_gic()
|
| A D | vpmu_counter_access.c | 439 __TEST_REQUIRE(vpmu_vm.gic_fd >= 0, in create_vpmu_vm()
|
| A D | vgic_irq.c | 755 __TEST_REQUIRE(gic_fd >= 0, "Failed to create vgic-v3, skipping"); in test_vgic()
|
| A D | arch_timer_edge_cases.c | 955 __TEST_REQUIRE(gic_fd >= 0, "Failed to create vgic-v3"); in test_vm_create()
|
| /tools/testing/selftests/kvm/x86/ |
| A D | nx_huge_pages_test.c | 256 __TEST_REQUIRE(token == MAGIC_TOKEN, in main()
|
| /tools/testing/selftests/kvm/lib/ |
| A D | lru_gen_util.c | 382 __TEST_REQUIRE(lru_gen_debug_fd >= 0, in lru_gen_usable()
|
| A D | kvm_util.c | 455 __TEST_REQUIRE(setrlimit(RLIMIT_NOFILE, &rl) >= 0, in kvm_set_files_rlimit() 957 __TEST_REQUIRE(kvm_has_cap(KVM_CAP_USER_MEMORY2), \
|
| /tools/testing/selftests/kvm/lib/x86/ |
| A D | processor.c | 826 __TEST_REQUIRE(0, "KVM_X86_XCOMP_GUEST_SUPP not supported"); in __vm_xsave_require_permission() 830 __TEST_REQUIRE(bitmask & xfeature, in __vm_xsave_require_permission()
|
Completed in 35 milliseconds