Change the log level for RTE_TEST_ASSERT macro to error to help
log errors while running test cases.
Suggested-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Aaron Conole <aconole@redhat.com>
Acked-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
#define RTE_TEST_ASSERT(cond, msg, ...) do { \
if (!(cond)) { \
- RTE_LOG(DEBUG, EAL, "Test assert %s line %d failed: " \
+ RTE_LOG(ERR, EAL, "Test assert %s line %d failed: " \
msg "\n", __func__, __LINE__, ##__VA_ARGS__); \
RTE_TEST_TRACE_FAILURE(__FILE__, __LINE__, __func__); \
return -1; \