summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/devices/Makefile
diff options
context:
space:
mode:
authorNícolas F. R. A. Prado <nfraprado@collabora.com>2024-01-22 15:53:21 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-27 17:38:53 -0800
commitdacf1d7a78bf8a131346c47bfba7fe1f3ff44beb (patch)
treec31879f31705fd4d4a35c0b12914f1f0465f3842 /tools/testing/selftests/devices/Makefile
parent71ba4fe566560d1d4740d8fbce5a71e16f2fc23e (diff)
downloadlwn-dacf1d7a78bf8a131346c47bfba7fe1f3ff44beb.tar.gz
lwn-dacf1d7a78bf8a131346c47bfba7fe1f3ff44beb.zip
kselftest: Add test to verify probe of devices from discoverable buses
Add a new test to verify that a list of expected devices from discoverable buses (ie USB, PCI) have been successfully instantiated and probed by a driver. The per-platform list of expected devices is selected from the ones under the boards/ directory based on the DT compatible or the DMI IDs. Signed-off-by: "Nícolas F. R. A. Prado" <nfraprado@collabora.com> Link: https://lore.kernel.org/r/20240122-discoverable-devs-ksft-v4-1-d602e1df4aa2@collabora.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/devices/Makefile')
-rw-r--r--tools/testing/selftests/devices/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/devices/Makefile b/tools/testing/selftests/devices/Makefile
new file mode 100644
index 000000000000..ca29249b30c3
--- /dev/null
+++ b/tools/testing/selftests/devices/Makefile
@@ -0,0 +1,4 @@
+TEST_PROGS := test_discoverable_devices.py
+TEST_FILES := boards ksft.py
+
+include ../lib.mk