Re: [U-Boot] [PATCH 16/23] test: dm: Support memory leak checking as a core feature

2014-10-23 Thread Simon Glass
On 4 October 2014 11:29, Simon Glass wrote: > Check the state of the malloc() heap before each test is run, so that tests > can verify that all is well at the end. Provide helper functions to mark > the heap and to check that it returns to its initial state. > > Signed-off-by: Simon Glass > --- >

[U-Boot] [PATCH 16/23] test: dm: Support memory leak checking as a core feature

2014-10-04 Thread Simon Glass
Check the state of the malloc() heap before each test is run, so that tests can verify that all is well at the end. Provide helper functions to mark the heap and to check that it returns to its initial state. Signed-off-by: Simon Glass --- include/dm/test.h | 23 +++ test/