mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
malloc: Turn on DEBUG when enabling unit tests
Unit tests require mallinfo which in turn requires DEBUG on dlmalloc to be enabled. The dependancy on CONFIG_SANDBOX is wrong. Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
54cc4dcfda
commit
4e33316f65
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_SANDBOX
|
||||
#if defined(CONFIG_UNIT_TEST)
|
||||
#define DEBUG
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue