]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: test: Add a Kconfig file
authorSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 04:41:37 +0000 (21:41 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Feb 2015 17:35:34 +0000 (10:35 -0700)
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>
Kconfig
test/Kconfig [new file with mode: 0644]
test/dm/Kconfig [new file with mode: 0644]

diff --git a/Kconfig b/Kconfig
index 09e2bbe66a114bd481407997367fe131d4473a82..6112a7778e1130d1a3c8f4f2e8625d558a51c549 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -166,3 +166,5 @@ source "drivers/Kconfig"
 source "fs/Kconfig"
 
 source "lib/Kconfig"
+
+source "test/Kconfig"
diff --git a/test/Kconfig b/test/Kconfig
new file mode 100644 (file)
index 0000000..1fb1716
--- /dev/null
@@ -0,0 +1 @@
+source "test/dm/Kconfig"
diff --git a/test/dm/Kconfig b/test/dm/Kconfig
new file mode 100644 (file)
index 0000000..a9d0298
--- /dev/null
@@ -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.