Re: [PATCH v4 1/3] kselftest: Add test to verify probe of devices from discoverable buses
Thomas Weißschuh <[email protected]> Mon, 29 Dec 2025 14:57:25 +0100
| Newsgroups | dev.linux.lists.kernelci,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest,org.kernel.vger.linux-pci,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <20251229145542-059157e7-1864-4407-8734-0a32589f9b0b@linutronix.de> |
On Mon, Jan 22, 2024 at 03:53:21PM -0300, Nícolas F. R. A. Prado wrote: > 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 <[email protected]> > --- > tools/testing/selftests/Makefile | 1 + > tools/testing/selftests/devices/Makefile | 4 + > tools/testing/selftests/devices/ksft.py | 90 ++++++ This seems to be a copy of tools/testing/selftests/kselftest/ksft.py. Instead of copying the file, try to use it from the standard location. > .../selftests/devices/test_discoverable_devices.py | 318 +++++++++++++++++++++ > 4 files changed, 413 insertions(+) (...)