| #
b042566d |
| 03-Jan-2016 |
Simon Glass <sjg@chromium.org> |
dm: Disable all SPI and SPI flash tests
This subsystem has been broken since commit:
4efad20a sf: Update status reg check in spi_flash_cmd_wait_ready
There has so far been no response from the
dm: Disable all SPI and SPI flash tests
This subsystem has been broken since commit:
4efad20a sf: Update status reg check in spi_flash_cmd_wait_ready
There has so far been no response from the maintainer, and a release is imminent. For now, let's just disable the tests.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
9961a0b6 |
| 30-Oct-2015 |
Thomas Chou <thomas@wytron.com.tw> |
sandbox: add a sandbox timer and basic test
Add a sandbox timer which get time from host os and a basic test.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromiu
sandbox: add a sandbox timer and basic test
Add a sandbox timer which get time from host os and a basic test.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
5f5620ab |
| 12-Nov-2015 |
Stefano Babic <sbabic@denx.de> |
Merge git://git.denx.de/u-boot
|
| #
60b25259 |
| 05-Nov-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-samsung
|
| #
c48cb7eb |
| 27-Oct-2015 |
Przemyslaw Marczak <p.marczak@samsung.com> |
sandbox: add ADC unit tests
This commit adds unit tests for ADC uclass's methods using sandbox ADC.
Testing proper ADC binding: - dm_test_adc_bind() - device binding - dm_test_ad
sandbox: add ADC unit tests
This commit adds unit tests for ADC uclass's methods using sandbox ADC.
Testing proper ADC binding: - dm_test_adc_bind() - device binding - dm_test_adc_wrong_channel_selection() - checking wrong channel selection
Testing ADC supply operations: - dm_test_adc_supply(): - Vdd/Vss values validating - Vdd regulator updated value validating - Vdd regulator's auto enable state validating
Testing ADC operations results: - dm_test_adc_single_channel_conversion() - single channel start/data - dm_test_adc_single_channel_shot() - single channel shot - dm_test_adc_multi_channel_conversion() - multi channel start/data - dm_test_adc_multi_channel_shot() - multi channel single shot
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
show more ...
|
| #
a69fdc77 |
| 23-Oct-2015 |
Stefano Babic <sbabic@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
bfaa2d99 |
| 17-Sep-2015 |
Nishanth Menon <nm@ti.com> |
test: Add basic tests for remoteproc
Use the sandbox environment for the basic tests.
Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Nishanth M
test: Add basic tests for remoteproc
Use the sandbox environment for the basic tests.
Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Nishanth Menon <nm@ti.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
86075bab |
| 06-Jul-2015 |
Simon Glass <sjg@chromium.org> |
test: Add a test for regmap
We use syscon to test that the regmap functions work as expected.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
04035fd3 |
| 06-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: test: Add a test for the system controller uclass
Add a test to confirm that we can access system controllers and find their driver data.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
3c43fba3 |
| 06-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: test: Add a test for the LED uclass
Add a test to confirm that we can adjust LEDs using the led_gpio driver.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
8e6cc461 |
| 06-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: test: Add a test for the mmc uclass
Add a test to confirm that we can probe this device. Since there is no MMC stack support in sandbox at present, this is as far as the test goes.
Signed-off-b
dm: test: Add a test for the mmc uclass
Add a test to confirm that we can probe this device. Since there is no MMC stack support in sandbox at present, this is as far as the test goes.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
64ce0cad |
| 06-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: test: Add a test for the ram uclass
Add a test to confirm that we can probe this device and get information on the available RAM.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
201c29a2 |
| 06-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: test: Add a test for the reset uclass
Add tests that confirm that the drivers work as expected, and we can walk through the available reset types trying to reset the board.
Signed-off-by: Simon
dm: test: Add a test for the reset uclass
Add tests that confirm that the drivers work as expected, and we can walk through the available reset types trying to reset the board.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
6a1c7cef |
| 06-Jul-2015 |
Simon Glass <sjg@chromium.org> |
dm: test: Add tests for the clk uclass
Add tests of each API call using a sandbox clock device.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
40441e0b |
| 20-May-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
test: dm: Move the dm tests over to the ut command
Unify the command for running unit tests further by moving the "dm test" command over to "ut dm".
Signed-off-by: Joe Hershberger <joe.hershberger@
test: dm: Move the dm tests over to the ut command
Unify the command for running unit tests further by moving the "dm test" command over to "ut dm".
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
e721b882 |
| 20-May-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
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.
Signe
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>
show more ...
|
| #
e8f339e0 |
| 13-May-2015 |
Przemyslaw Marczak <p.marczak@samsung.com> |
test: dm: add sandbox PMIC framework tests
This change adds new file to sandbox driver model test environment. The file is: test/dm/power.c, and it includes tests for PMIC framework, which includes
test: dm: add sandbox PMIC framework tests
This change adds new file to sandbox driver model test environment. The file is: test/dm/power.c, and it includes tests for PMIC framework, which includes PMIC uclass and REGULATOR uclass.
All tests are based od Sandbox PMIC emulated device. Some test constants for this device are defined in the header: include/power/sandbox_pmic.h
PMIC tests includes: - pmic get - tests, that pmic_get() returns the requested device - pmic I/O - tests I/O by writing and reading some values to PMIC's registers and then compares, that the write/read values are equal.
The regulator tests includes: - Regulator get by devname/platname - Voltage set/get - Current set/get - Enable set/get - Mode set/get - Autoset - List autoset
For the regulator 'get' test, the returned device pointers are compared, and their names are also compared to the requested one. Every other test, first sets the given attribute and next try to get it. The test pass, when the set/get values are equal.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Tested on sandbox: Tested-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
02ffb580 |
| 08-May-2015 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
47725114 |
| 20-Apr-2015 |
Simon Glass <sjg@chromium.org> |
dm: rtc: Add tests for real-time clocks
Add some simple tests to verify that the RTC uclass works correctly in U-Boot.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
b939689c |
| 05-May-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
|
| #
e00cb223 |
| 25-Mar-2015 |
Simon Glass <sjg@chromium.org> |
dm: usb: Add tests for the USB uclass
This adds a simple test for probing and a functional test using the flash stick emulator, which tests a large chunk of the USB stack.
Signed-off-by: Simon Glas
dm: usb: Add tests for the USB uclass
This adds a simple test for probing and a functional test using the flash stick emulator, which tests a large chunk of the USB stack.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| #
bfacad7d |
| 22-Mar-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
test: dm: eth: Add tests for the eth dm implementation
Add a test for the eth uclass using the sandbox eth driver. Verify basic functionality of the network stack / eth uclass by exercising the ping
test: dm: eth: Add tests for the eth dm implementation
Add a test for the eth uclass using the sandbox eth driver. Verify basic functionality of the network stack / eth uclass by exercising the ping function.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
eb374221 |
| 22-Mar-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
test: dm: Reorder the objects to build
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
|
| #
d3b7ff14 |
| 05-Mar-2015 |
Simon Glass <sjg@chromium.org> |
dm: pci: Add driver model tests for PCI
Add some basic tests to check that things work as expected with sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
a5a58826 |
| 12-Dec-2014 |
Tom Rini <trini@ti.com> |
Merge git://git.denx.de/u-boot-dm
|