summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-05 21:41:37 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:34 -0700
commit1967982a959609d663a1c25e4473a3209671e3aa (patch)
treef4b81a88ede005ef1203a3d8d3eda8844dffe6be /test
parent91a91ff804d50d7a4b7560d10fa6863fc4c04307 (diff)
downloadu-boot-imx-1967982a959609d663a1c25e4473a3209671e3aa.zip
u-boot-imx-1967982a959609d663a1c25e4473a3209671e3aa.tar.gz
u-boot-imx-1967982a959609d663a1c25e4473a3209671e3aa.tar.bz2
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>
Diffstat (limited to 'test')
-rw-r--r--test/Kconfig1
-rw-r--r--test/dm/Kconfig8
2 files changed, 9 insertions, 0 deletions
diff --git a/test/Kconfig b/test/Kconfig
new file mode 100644
index 0000000..1fb1716
--- /dev/null
+++ b/test/Kconfig
@@ -0,0 +1 @@
+source "test/dm/Kconfig"
diff --git a/test/dm/Kconfig b/test/dm/Kconfig
new file mode 100644
index 0000000..a9d0298
--- /dev/null
+++ b/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.