[PATCH] selftests: Hook more tests into the build infrastructure

Mark Brown posted 1 patch 2 years, 1 month ago
tools/testing/selftests/Makefile | 3 +++
1 file changed, 3 insertions(+)
[PATCH] selftests: Hook more tests into the build infrastructure
Posted by Mark Brown 2 years, 1 month ago
We have some dmabuf-heaps and perf_events tests but they are not hooked
up to the kselftest build infrastructure which is a bit of an obstacle
to running them in systems with generic infrastructure for selftests.
Add them to the top level kselftest Makefile so they get built as
standard.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 tools/testing/selftests/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile
index 666b56f22a41..bdee501596ef 100644
--- a/tools/testing/selftests/Makefile
+++ b/tools/testing/selftests/Makefile
@@ -12,6 +12,7 @@ TARGETS += core
 TARGETS += cpufreq
 TARGETS += cpu-hotplug
 TARGETS += damon
+TARGETS += dmabuf-heaps
 TARGETS += drivers/dma-buf
 TARGETS += drivers/s390x/uvdevice
 TARGETS += drivers/net/bonding
@@ -56,6 +57,7 @@ TARGETS += net/mptcp
 TARGETS += net/openvswitch
 TARGETS += netfilter
 TARGETS += nsfs
+TARGETS += perf_events
 TARGETS += pidfd
 TARGETS += pid_namespace
 TARGETS += powerpc
@@ -88,6 +90,7 @@ endif
 TARGETS += tmpfs
 TARGETS += tpm2
 TARGETS += tty
+TARGETS += uevents
 TARGETS += user
 TARGETS += vDSO
 TARGETS += mm

---
base-commit: 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4
change-id: 20230805-kselftest-perf-events-build-c0e0f1182bae

Best regards,
-- 
Mark Brown <broonie@kernel.org>
Re: [PATCH] selftests: Hook more tests into the build infrastructure
Posted by Shuah Khan 2 years ago
On 8/5/23 17:14, Mark Brown wrote:
> We have some dmabuf-heaps and perf_events tests but they are not hooked
> up to the kselftest build infrastructure which is a bit of an obstacle
> to running them in systems with generic infrastructure for selftests.
> Add them to the top level kselftest Makefile so they get built as
> standard.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---

Thank you. Applied to linux-kselftest next for Linux 6.6-rc1.

thanks,
-- Shuah