From: Simon Glass Date: Fri, 6 Feb 2015 04:41:37 +0000 (-0700) Subject: dm: test: Add a Kconfig file X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=1967982a959609d663a1c25e4473a3209671e3aa;p=u-boot.git dm: test: Add a Kconfig file Add a file to control driver model test features. Signed-off-by: Simon Glass Reviewed-by: Masahiro Yamada --- diff --git a/Kconfig b/Kconfig index 09e2bbe66a..6112a7778e 100644 --- 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 index 0000000000..1fb1716a4a --- /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 0000000000..a9d0298e0d --- /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.