]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kselftest: devices: Allow specifying boards directory through parameter
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Thu, 13 Jun 2024 15:14:51 +0000 (11:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2024 17:39:09 +0000 (19:39 +0200)
commitf871f9bacde8cdeaa7a1f6200ff39c79114c4ef6
tree2d51322781364ffc5343ee349afc86f2d2e89ee5
parentccff36934137b426ca988429b5890f83d89f9ed9
kselftest: devices: Allow specifying boards directory through parameter

Add support for a --boards-dir parameter through which the directory in
which the board files will be searched for can be specified. The
'boards' subdirectory is still used as default when the parameter is not
specified.

This allows more easily running the test with board files supplied by an
external repository like
https://github.com/kernelci/platform-test-parameters.

Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20240613-kselftest-discoverable-probe-mt8195-kci-v1-1-7b396a9b032d@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/devices/test_discoverable_devices.py