Bläddra i källkod

dm: test: Add a Kconfig file

Add a file to control driver model test features.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Simon Glass 9 år sedan
förälder
incheckning
1967982a95
3 ändrade filer med 11 tillägg och 0 borttagningar
  1. 2 0
      Kconfig
  2. 1 0
      test/Kconfig
  3. 8 0
      test/dm/Kconfig

+ 2 - 0
Kconfig

@@ -166,3 +166,5 @@ source "drivers/Kconfig"
 source "fs/Kconfig"
 
 source "lib/Kconfig"
+
+source "test/Kconfig"

+ 1 - 0
test/Kconfig

@@ -0,0 +1 @@
+source "test/dm/Kconfig"

+ 8 - 0
test/dm/Kconfig

@@ -0,0 +1,8 @@
+config DM_TEST
+	bool "Enable driver model test command"
+	depends on SANDBOX && CMD_DM
+	help
+	  This enables the 'dm test' command which runs a series of unit
+	  tests on the driver model code. Each subsystem (uclass) is tested.
+	  If all is well then all tests pass although there will be a few
+	  messages printed along the way.