Skip to content

Commit

Permalink
test: remove redundant macro
Browse files Browse the repository at this point in the history
[ upstream commit 27ea35b ]

Remove RTE_TEST_TRACE_FAILURE macro definition from app/test/test.h
as it might be already defined and cause build problems.

Also it is good to leave the decision of additional logs to the final
user of test.h and rte_test.h

Fixes: 5afc521 ("eal: add test assert macros")

Signed-off-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
  • Loading branch information
lukaszwojciechowski authored and kevintraynor committed May 27, 2020
1 parent 55e69e8 commit 0b837f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test/test.h
Expand Up @@ -22,8 +22,6 @@
# define TEST_TRACE_FAILURE(_file, _line, _func)
#endif

#define RTE_TEST_TRACE_FAILURE TEST_TRACE_FAILURE

#include <rte_test.h>

#define TEST_ASSERT RTE_TEST_ASSERT
Expand Down

0 comments on commit 0b837f2

Please sign in to comment.