diff options
| author | Sean Christopherson <[email protected]> | 2024-11-28 00:55:45 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-12-18 22:15:03 +0000 |
| commit | 43fbd8cd389faa9760c5152b1c58e893c812953b (patch) | |
| tree | e07581f8abb18ef2e3c69166f843db52f6eb91b6 /tools/testing/selftests/kvm/x86/hyperv_evmcs.c | |
| parent | KVM: selftests: Verify KVM correctly handles mprotect(PROT_READ) (diff) | |
| download | kernel-43fbd8cd389faa9760c5152b1c58e893c812953b.tar.gz kernel-43fbd8cd389faa9760c5152b1c58e893c812953b.zip | |
KVM: selftests: Provide empty 'all' and 'clean' targets for unsupported ARCHs
Provide empty targets for KVM selftests if the target architecture is
unsupported to make it obvious which architectures are supported, and so
that various side effects don't fail and/or do weird things, e.g. as is,
"mkdir -p $(sort $(dir $(TEST_GEN_PROGS)))" fails due to a missing operand,
and conversely, "$(shell mkdir -p $(sort $(OUTPUT)/$(ARCH_DIR) ..." will
create an empty, useless directory for the unsupported architecture.
Move the guts of the Makefile to Makefile.kvm so that it's easier to see
that the if-statement effectively guards all of KVM selftests.
Reported-by: Muhammad Usama Anjum <[email protected]>
Acked-by: Muhammad Usama Anjum <[email protected]>
Acked-by: Andrew Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/hyperv_evmcs.c')
0 files changed, 0 insertions, 0 deletions
