uboot/test/dm
Simon Glass 61ccd886e2 dm: usb: Clean up USB after each test
The USB subsystem has a few counters that need to be reset since they are
stored in static variables rather than driver-model data. An example is
usb_max_devs. Ultimately we should move this data into the USB uclass.

For now, make sure that USB is reset after each test, so that the counters
go back to zero.

Note: this is not a perfect solution: It a USB test fails it will exit
immediately and leave USB un-reset. The impact here is that it may cause
subsequence test failures in the same run.

Signed-off-by: Simon Glass <sjg@chromium.org>
2016-03-14 15:34:50 -06:00
..
Kconfig
Makefile spi: Re-enable the SPI flash tests 2016-02-26 08:53:10 -07:00
adc.c sandbox: add ADC unit tests 2015-11-02 10:38:00 +09:00
bus.c dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
clk.c
cmd_dm.c CONFIG_NEEDS_MANUAL_RELOC: Fix warnings when not set 2015-12-07 08:35:23 -05:00
core.c
eth.c dm: test: Add a new test case against dm eth codes for NULL pointer access 2015-10-29 14:05:52 -05:00
gpio.c
i2c.c
led.c
mmc.c
pci.c dm: test: Convert PCI tests to use the DM PCI API 2016-01-12 10:19:09 -07:00
pmic.c
ram.c
regmap.c
regulator.c
remoteproc.c test: Add basic tests for remoteproc 2015-10-22 14:18:40 -04:00
reset.c
rtc.c
sf.c
spi.c
syscon.c dm: syscon: Allow finding devices by driver data 2016-01-24 12:07:19 +08:00
test-driver.c
test-fdt.c
test-main.c test/dm: clear unit test failure count each run 2016-01-28 21:01:24 -07:00
test-uclass.c
timer.c sandbox: add a sandbox timer and basic test 2015-11-19 20:13:41 -07:00
usb.c dm: usb: Clean up USB after each test 2016-03-14 15:34:50 -06:00
video.c video: test: Adjust order of file closure 2016-02-06 13:57:15 +01:00