mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] KVM: selftests: Provide empty installation rules on unsupported ARCHs
@ 2026-10-14 20:01 Sasha Levin
  2026-11-03 13:01 ` Sasha Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Sasha Levin @ 2026-10-14 20:01 UTC (permalink / raw)
  To: Paolo Bonzini, Sean Christopherson
  Cc: Sasha Levin, Andrew Jones, Shuah Khan, kvm, linux-kselftest,
	linux-kernel

Unsupported architectures provide all and clean, but installation and
runlist generation fail with missing targets. Supply empty install,
emit_tests and run_tests targets alongside the existing empty rules.
This represents an unsupported suite without creating dummy artifacts.

Fixes: 43fbd8cd389f ("KVM: selftests: Provide empty 'all' and 'clean' targets for unsupported ARCHs")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 tools/testing/selftests/kvm/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/kvm/Makefile b/tools/testing/selftests/kvm/Makefile
index f2b223072b626..17475d3c0786c 100644
--- a/tools/testing/selftests/kvm/Makefile
+++ b/tools/testing/selftests/kvm/Makefile
@@ -11,6 +11,6 @@ endif
 include Makefile.kvm
 else
 # Empty targets for unsupported architectures
-all:
-clean:
+all clean run_tests install emit_tests:
+.PHONY: all clean run_tests install emit_tests
 endif

base-commit: 4eb2586bd40db27d77cc5b724ca9386ed0c71d53
-- 
2.53.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] KVM: selftests: Provide empty installation rules on unsupported ARCHs
  2026-10-14 20:01 [PATCH] KVM: selftests: Provide empty installation rules on unsupported ARCHs Sasha Levin
@ 2026-11-03 13:01 ` Sasha Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Levin @ 2026-11-03 13:01 UTC (permalink / raw)
  To: Paolo Bonzini, Sean Christopherson
  Cc: Andrew Jones, Shuah Khan, kvm, linux-kselftest, linux-kernel

Ping, this still applies on 7.4-rc1. On architectures the KVM
selftests don't support, like 32-bit arm in KernelCI, installing the
selftests still stops at the kvm suite with "No rule to make target
'install'".

-- 
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-03 13:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 20:01 [PATCH] KVM: selftests: Provide empty installation rules on unsupported ARCHs Sasha Levin
2026-11-03 13:01 ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®