From 8271f5d4c3a0ce8282025217509c18220a0f552b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 2 May 2015 09:25:02 -0600 Subject: 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 --- test/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/Kconfig') diff --git a/test/Kconfig b/test/Kconfig index 1fb1716a4a..3270c84213 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" -- cgit v1.2.3