test/efd: replace config macro with runtime log level
authorDharmik Thakkar <dharmik.thakkar@arm.com>
Tue, 26 Feb 2019 23:02:28 +0000 (17:02 -0600)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 28 Mar 2019 18:38:52 +0000 (19:38 +0100)
commit9038ea4674cf2d9cf2ae573c48b999b9d41dc3c4
treecc5eddf81b6bef15dd7ad58170aa56a5a2e07571
parent54e5545d33eff911c1024479eb52d68dbf45139b
test/efd: replace config macro with runtime log level

This patch enables compilation of print_key_info() always using
log-level based approach instead of a macro. Need to set efd log type
to debug to print debug information, using the following eal parameter:
--log-level=test.efd:debug

Suggested-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test/test_efd.c