malloc: Turn on DEBUG when enabling unit tests
authorPantelis Antoniou <pantelis.antoniou@konsulko.com>
Thu, 25 May 2017 16:24:06 +0000 (19:24 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 18:13:11 +0000 (14:13 -0400)
commit4e33316f656bf9a893ad0e828cc9a0acbc0a9d30
tree0c4840c64f3a22d16d4244dbaacfb3def3b1f2ca
parent54cc4dcfdac1fdb0e7719556fd69980b4f80f47c
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>
common/dlmalloc.c