From 2cfbdbb4015aeec4a4579891d85bd09e4cdc5b78 Mon Sep 17 00:00:00 2001 From: zhangshoukui Date: Thu, 2 Jan 2025 16:45:21 +0800 Subject: [PATCH] driver test: add depends on Signed-off-by: zhangshoukui --- testing/irtest/Kconfig | 1 + testing/pcitest/Kconfig | 1 + testing/sensortest/Kconfig | 1 + testing/testsuites/Kconfig | 1 + 4 files changed, 4 insertions(+) diff --git a/testing/irtest/Kconfig b/testing/irtest/Kconfig index 12bb586fd..01e23d368 100644 --- a/testing/irtest/Kconfig +++ b/testing/irtest/Kconfig @@ -6,6 +6,7 @@ config TESTING_IRTEST tristate "IR driver test" default n + depends on DRIVERS_RC ---help--- Enable the IR driver test diff --git a/testing/pcitest/Kconfig b/testing/pcitest/Kconfig index 6d6b03f67..2ae78ec05 100644 --- a/testing/pcitest/Kconfig +++ b/testing/pcitest/Kconfig @@ -6,6 +6,7 @@ config TESTING_PCITEST tristate "\"pcitest tools\"" default n + depends on PCI_EP_TEST ---help--- Enable the \"pcitest tools\" diff --git a/testing/sensortest/Kconfig b/testing/sensortest/Kconfig index 01f924291..7344ebe2e 100644 --- a/testing/sensortest/Kconfig +++ b/testing/sensortest/Kconfig @@ -6,6 +6,7 @@ config TESTING_SENSORTEST tristate "Sensor driver test" default n + depends on SENSORS ---help--- Enable the Sensor driver test diff --git a/testing/testsuites/Kconfig b/testing/testsuites/Kconfig index d95596b8d..a6b6928cc 100644 --- a/testing/testsuites/Kconfig +++ b/testing/testsuites/Kconfig @@ -38,6 +38,7 @@ config CM_MM_TEST config CM_TIME_TEST bool "enbale time test" + depends on !DISABLE_POSIX_TIMERS default n config CM_PTHREAD_TEST