Hi Simon, On Sun, Apr 19, 2015 at 8:21 AM, Simon Glass <s...@chromium.org> wrote: > 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 <s...@chromium.org>
For me, this fixed: """ Test: dm_test_usb_base /home/joe/u-boot/test/dm/test-main.c:27, dm_test_init(): 0 == dm_init(): Expected 0, got -12 /home/joe/u-boot/test/dm/test-main.c:93, dm_test_main(): 0 == dm_test_init(dms): Expected 0, got -1 """ Reviewed-by: Joe Hershberger <joe.hershber...@ni.com> Tested-by: Joe Hershberger <joe.hershber...@ni.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot