u-boot-brain/test
Igor Opaniuk 9d1215be92 test: dm: tee: extend with RPC test
Extend existing DM tee tests adding test coverage for reverse RPC calls.
Currently this commit only adds tests for I2C requests from TEE driver
to TEE supplicant, for instance reading/writing data to emulated i2c
eeprom defines in standard sandbox test device tree
(arch/sandbox/dts/test.dtb):

=> i2c bus
Bus 0:	i2c@0  (active 0)
   2c: eeprom@2c, offset len 1, flags 0
   ...

Running TEE tests:
=> ut dm tee
Test: dm_test_tee: tee.c
Test: dm_test_tee: tee.c (flat tree)
Failures: 0

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
2021-02-16 11:48:20 -05:00
..
cmd common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
dm test: dm: tee: extend with RPC test 2021-02-16 11:48:20 -05:00
env env: Allow returning errors from hdelete_r() 2020-12-04 16:09:06 -05:00
fs Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
image test: Update test-imagetools.sh to match new syntax 2019-03-08 11:31:44 -05:00
lib common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
log common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
optee common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
overlay common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
py test: py: add pygit2 and pyelftools to requirements.txt 2021-02-16 11:48:20 -05:00
stdint Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
trace SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig test: linking test/compression.c fails 2020-11-05 09:11:31 -07:00
Makefile test: inconsistent bootm tests 2021-01-29 10:36:49 -05:00
bloblist.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
bootm.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
cmd_ut.c test: inconsistent string tests 2021-01-29 10:36:49 -05:00
command_ut.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
common.sh Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
compression.c test: Use ut_asserteq_mem() where possible 2020-05-19 14:01:47 -04:00
nokia_rx51_test.sh Nokia RX-51: Add test for U-Boot serial console 2021-01-12 10:59:04 +05:30
print_ut.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
run test: Run SPL unit tests 2020-10-29 14:42:18 -06:00
str_ut.c test: correct the test prefix in ut str 2021-01-16 14:49:09 -05:00
time_ut.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
unicode_ut.c efi_loader: Add size checks to efi_create_indexed_name() 2020-12-31 14:33:23 +01:00
ut.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00