summaryrefslogtreecommitdiff
path: root/test/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-05-02 15:25:02 (GMT)
committerSimon Glass <sjg@chromium.org>2015-05-06 18:48:37 (GMT)
commit8271f5d4c3a0ce8282025217509c18220a0f552b (patch)
tree5e002f8b48bbf8adf3cd9b887a552d451ce541e2 /test/Kconfig
parentebaa832e9904677e2aea96d20e9c2c669e1ec7df (diff)
downloadu-boot-fsl-qoriq-8271f5d4c3a0ce8282025217509c18220a0f552b.tar.xz
test: Add a simple time test
Sometimes the time functions are incorrect due to bad time support on a board. Add a unit test which tries to detect this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/Kconfig')
-rw-r--r--test/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Kconfig b/test/Kconfig
index 1fb1716..3270c84 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -1 +1,9 @@
+config CMD_UT_TIME
+ bool "Unit tests for time functions"
+ help
+ Enables the 'ut_time' command which tests that the time functions
+ work correctly. The test is fairly simple and will not catch all
+ problems. But if you are having problems with udelay() and the like,
+ this is a good place to start.
+
source "test/dm/Kconfig"