]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
kselftest: devices: Move discoverable devices test to subdirectory
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Fri, 5 Jul 2024 23:29:54 +0000 (19:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Jul 2024 08:59:06 +0000 (10:59 +0200)
Move the discoverable devices test to a subdirectory to allow other
related tests to be added to the devices directory.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240705-dev-err-log-selftest-v2-1-163b9cd7b3c1@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/Makefile
tools/testing/selftests/devices/probe/Makefile [moved from tools/testing/selftests/devices/Makefile with 77% similarity]
tools/testing/selftests/devices/probe/boards/Dell Inc.,XPS 13 9300.yaml [moved from tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml with 100% similarity]
tools/testing/selftests/devices/probe/boards/google,spherion.yaml [moved from tools/testing/selftests/devices/boards/google,spherion.yaml with 100% similarity]
tools/testing/selftests/devices/probe/ksft.py [moved from tools/testing/selftests/devices/ksft.py with 100% similarity]
tools/testing/selftests/devices/probe/test_discoverable_devices.py [moved from tools/testing/selftests/devices/test_discoverable_devices.py with 100% similarity]

index 9039f3709affb91e91af16741c309e8c5c5de5ef..37214201d9741608eb726d7c0c240a95c75066f7 100644 (file)
@@ -13,7 +13,7 @@ TARGETS += core
 TARGETS += cpufreq
 TARGETS += cpu-hotplug
 TARGETS += damon
-TARGETS += devices
+TARGETS += devices/probe
 TARGETS += dmabuf-heaps
 TARGETS += drivers/dma-buf
 TARGETS += drivers/s390x/uvdevice
similarity index 77%
rename from tools/testing/selftests/devices/Makefile
rename to tools/testing/selftests/devices/probe/Makefile
index ca29249b30c34d85b008c36195aeefcb133cb6cb..7a6eaa031cfe7ba26e90dadcc332c63267bee739 100644 (file)
@@ -1,4 +1,4 @@
 TEST_PROGS := test_discoverable_devices.py
 TEST_FILES := boards ksft.py
 
-include ../lib.mk
+include ../../lib.mk