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(+) (...)

