]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
dm: test: Add a Kconfig file
authorSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 04:41:37 +0000 (21:41 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:51:17 +0000 (13:51 +0200)
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 dd1e692f260a71a169b670f1ba4cea3451314030..23c19aff97e68a93024197447333ac6e92905a1a 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -167,3 +167,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.