test: Generalize the unit test framework

Separate the ability to define tests and assert status of test functions
from the dm tests so they can be used more consistently throughout all
tests.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Joe Hershberger
2015-05-20 14:27:27 -05:00
committed by Tom Rini
parent 6e0d26c050
commit e721b882e9
24 changed files with 234 additions and 191 deletions

View File

@@ -1,3 +1,6 @@
config UNIT_TEST
bool
config CMD_UT_TIME
bool "Unit tests for time functions"
help