]> git.sur5r.net Git - u-boot/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>
26 files changed:
include/dm/test.h
include/dm/ut.h [deleted file]
include/test/test.h [new file with mode: 0644]
include/test/ut.h [new file with mode: 0644]
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/dm/ut.c [deleted file]
test/ut.c [new file with mode: 0644]