]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:43:16 +0000 (22:43 +0200)
commit0e1a00ed79b6ee4e65848df5cd0aded4312a6a6d
tree490416a4e0c578849272acf1b15e52875b3d71db
parentbb6409d50b352dacdb58562b3e33046363d9cc61
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]