Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
c7d6d7f1
Unverified
Commit
c7d6d7f1
authored
Mar 11, 2018
by
Robert Kimball
Committed by
GitHub
Mar 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update skip macro to output only if test is disabled (#626)
parent
36a1d96f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
backend_test.in.cpp
test/backend_test.in.cpp
+0
-1
test_tools.hpp
test/util/test_tools.hpp
+1
-4
No files found.
test/backend_test.in.cpp
View file @
c7d6d7f1
...
...
@@ -5370,7 +5370,6 @@ TEST(${BACKEND_NAME}, numeric_double_inf)
TEST
(
$
{
BACKEND_NAME
},
abc_tbb
)
{
SKIP_TEST_FOR
(
"GPU"
,
"${BACKEND_NAME}"
);
ONLY_ENABLE_TEST_FOR
(
"CPU"
,
"${BACKEND_NAME}"
);
// Force TBB flow graph generation in the CPU backend
...
...
test/util/test_tools.hpp
View file @
c7d6d7f1
...
...
@@ -36,11 +36,8 @@
#define ONLY_ENABLE_TEST_FOR(backend_to_enable, current_backend) \
if (backend_to_enable != current_backend) \
{ \
NGRAPH_INFO << "Skipped test for " << current_backend; \
return; \
} \
else \
{ \
NGRAPH_INFO << "Enabled test for " << current_backend; \
}
namespace
ngraph
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment