Commit 4e33316f656bf9a893ad0e828cc9a0acbc0a9d30

Authored by Pantelis Antoniou
Committed by Tom Rini
1 parent 54cc4dcfda

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

1 1 #include <common.h>
2 2  
3   -#ifdef CONFIG_SANDBOX
  3 +#if defined(CONFIG_UNIT_TEST)
4 4 #define DEBUG
5 5 #endif
6 6