u-boot/test
Przemyslaw Marczak 754e71e850 dm: test: Add tests for device's uclass platform data
This test introduces new test structure type:dm_test_perdev_uc_pdata.
The structure consists of three int values only. For the test purposes,
three pattern values are defined by enum, starting with TEST_UC_PDATA_INTVAL1.

This commit adds two test cases for uclass platform data:
- Test: dm_test_autobind_uclass_pdata_alloc - this tests if:
  * uclass driver sets: .per_device_platdata_auto_alloc_size field
  * the devices's: dev->uclass_platdata is non-NULL

- Test: dm_test_autobind_uclass_pdata_valid - this tests:
  * if the devices's: dev->uclass_platdata is non-NULL
  * the structure of type 'dm_test_perdev_uc_pdata' allocated at address
    pointed by dev->uclass_platdata. Each structure field, should be equal
    to proper pattern data, starting from .intval1 == TEST_UC_PDATA_INTVAL1.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
2015-04-22 11:03:14 -06:00
..
dfu test: dfu: cosmetic: Add missing license information to DFU test scripts 2014-08-20 13:10:33 +02:00
dm dm: test: Add tests for device's uclass platform data 2015-04-22 11:03:14 -06:00
fs sandbox: script for testing sandbox/ext4/fat/fs commands 2014-11-23 06:49:05 -05:00
image dumpimage: fit: extract FIT images 2015-01-29 13:38:41 -05:00
stdint test: Add a simple test to detected warnings with uint64_t, uintptr_t 2014-10-27 11:04:01 -04:00
trace test: Add a test for command repeat 2014-09-24 18:30:28 -04:00
ums test: ums: Add sleep before unmount directory 2014-11-14 21:09:12 +01:00
vboot Implement generalised RSA public exponents for verified boot 2014-08-09 11:17:01 -04:00
cmd_repeat.sh test: Add a test for command repeat 2014-09-24 18:30:28 -04:00
command_ut.c hush: make run_command() return an error on parsing failure 2014-11-07 16:27:06 -05:00
common.sh test: Add a test for command repeat 2014-09-24 18:30:28 -04:00
compression.c common: Make sure arch-specific map_sysmem() is defined 2015-04-18 11:11:09 -06:00
Kconfig dm: test: Add a Kconfig file 2015-02-12 10:35:34 -07:00
Makefile dts, api, test: convert makefiles to Kbuild style 2013-11-01 11:42:12 -04:00