]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Generalize the unit test framework
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 20 May 2015 19:27:27 +0000 (14:27 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 21 May 2015 13:16:16 +0000 (09:16 -0400)
commite721b882e9daf3ad3599eef5a9ccf3847b694228
treed92fadcb65548e6ed19c60d4dfa27ecc80c3778c
parent6e0d26c0502e4d697cb235069aef188f8f1407d3
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>
24 files changed:
include/dm/test.h
include/test/test.h [new file with mode: 0644]
include/test/ut.h [moved from include/dm/ut.h with 79% similarity]
test/Kconfig
test/Makefile
test/dm/Kconfig
test/dm/Makefile
test/dm/bus.c
test/dm/core.c
test/dm/eth.c
test/dm/gpio.c
test/dm/i2c.c
test/dm/pci.c
test/dm/pmic.c
test/dm/regulator.c
test/dm/rtc.c
test/dm/sf.c
test/dm/spi.c
test/dm/test-driver.c
test/dm/test-fdt.c
test/dm/test-main.c
test/dm/test-uclass.c
test/dm/usb.c
test/ut.c [moved from test/dm/ut.c with 59% similarity]