test/timer: replace config macro with runtime log level
authorDharmik Thakkar <dharmik.thakkar@arm.com>
Tue, 26 Feb 2019 23:02:29 +0000 (17:02 -0600)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 28 Mar 2019 18:39:13 +0000 (19:39 +0100)
commit1ae40fdb8aed54eb9fe45977833fcc1abcb225ab
treeea77e99a1041e2870e8f543cd5ad72ea78b9ca37
parent9038ea4674cf2d9cf2ae573c48b999b9d41dc3c4
test/timer: replace config macro with runtime log level

This patch replaces macro with log-level based approach to print debug
information. Need to set timer log type to debug  using the following
eal parameter: --log-level=test.timer: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_timer_racecond.c