u-boot/test/dm
Simon Glass c02790ce12 dm: test: Allow test names to leave out the dm_test_ prefix
All driver model tests have a dm_test_ prefix. Ignore it when matching a
test name. This makes it easier to run individual tests, like this:

   ./sandbox/u-boot -d ./sandbox/arch/sandbox/dts/test.dtb \
	-c "ut dm clk_periph"

We can use 'clk_periph' instead of 'dm_test_clk_periph'.

Also print a message if the requested test is not found.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-07-21 17:39:30 -06:00
..
bus.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
cmd_dm.c dm: Move the tree/uclass dump code into its own file 2015-07-21 17:39:22 -06:00
core.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
eth.c test: dm: eth: Handle failed test env cleanup 2015-05-21 09:16:17 -04:00
gpio.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
i2c.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
Kconfig test: Move the unit tests to their own menu 2015-05-21 09:16:17 -04:00
Makefile test: dm: Move the dm tests over to the ut command 2015-05-21 09:16:17 -04:00
pci.c dm: pci: Allow PCI bus numbering aliases 2015-06-04 03:34:47 -06:00
pmic.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
regulator.c dm: pmic: Split output from function 2015-07-21 17:39:26 -06:00
rtc.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
sf.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
spi.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-dm.sh test: dm: Move the dm tests over to the ut command 2015-05-21 09:16:17 -04:00
test-driver.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-fdt.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
test-main.c dm: test: Allow test names to leave out the dm_test_ prefix 2015-07-21 17:39:30 -06:00
test-uclass.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00
usb.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00