1
0
Fork 0
remarkable-uboot/test
Simon Glass f9fd4558ea dm: test: Don't clear global_data in dm_test_uclass_before_ready()
We must not clear global_data even in tests, since the ram_buffer (which
is used by malloc()) will also be lost, and subsequent tests will fail.

Zero only the global_data fields that are required for the test to function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Tested-by: Joe Hershberger <joe.hershberger@ni.com>
2015-04-22 11:15:36 -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: Don't clear global_data in dm_test_uclass_before_ready() 2015-04-22 11:15:36 -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
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
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