app/test: use hexdump if debug log is enabled
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 15 Jun 2016 14:11:20 +0000 (15:11 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 20 Jun 2016 15:45:10 +0000 (17:45 +0200)
commit47df73a1a62ffd9a2bce45b45c9ccdc639f7371f
tree3ef8074d2216159b947410979bd49fc9363ab106
parent936724c8166feef1da211b828314f5fc1d7f8c3f
app/test: use hexdump if debug log is enabled

Instead of using the previous RTE_APP_TEST_DEBUG macro,
to dump memory when it was enabled (with rte_hexdump),
a new TEST_HEXDUMP is defined, which will call rte_hexdump
if RTE_LOG_LEVEL is set to RTE_LOG_DEBUG.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
app/test/test.h
app/test/test_cryptodev.c
app/test/test_cryptodev_aes.c