Unverified Commit c7d6d7f1 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

update skip macro to output only if test is disabled (#626)

parent 36a1d96f
...@@ -5370,7 +5370,6 @@ TEST(${BACKEND_NAME}, numeric_double_inf) ...@@ -5370,7 +5370,6 @@ TEST(${BACKEND_NAME}, numeric_double_inf)
TEST(${BACKEND_NAME}, abc_tbb) TEST(${BACKEND_NAME}, abc_tbb)
{ {
SKIP_TEST_FOR("GPU", "${BACKEND_NAME}");
ONLY_ENABLE_TEST_FOR("CPU", "${BACKEND_NAME}"); ONLY_ENABLE_TEST_FOR("CPU", "${BACKEND_NAME}");
// Force TBB flow graph generation in the CPU backend // Force TBB flow graph generation in the CPU backend
......
...@@ -36,11 +36,8 @@ ...@@ -36,11 +36,8 @@
#define ONLY_ENABLE_TEST_FOR(backend_to_enable, current_backend) \ #define ONLY_ENABLE_TEST_FOR(backend_to_enable, current_backend) \
if (backend_to_enable != current_backend) \ if (backend_to_enable != current_backend) \
{ \ { \
NGRAPH_INFO << "Skipped test for " << current_backend; \
return; \ return; \
} \
else \
{ \
NGRAPH_INFO << "Enabled test for " << current_backend; \
} }
namespace ngraph namespace ngraph
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment