[U-Boot] [PATCH v2 06/19] dm: test: Add a Kconfig file

Simon Glass sjg at chromium.org
Fri Feb 6 05:41:37 CET 2015


Add a file to control driver model test features.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Split out patch to add a Kconfig file for test/

 Kconfig         | 2 ++
 test/Kconfig    | 1 +
 test/dm/Kconfig | 8 ++++++++
 3 files changed, 11 insertions(+)
 create mode 100644 test/Kconfig
 create mode 100644 test/dm/Kconfig

diff --git a/Kconfig b/Kconfig
index fed488f..8e31410 100644
--- a/Kconfig
+++ b/Kconfig
@@ -165,3 +165,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 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.
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list