Commit e526aeef authored by gcwenger's avatar gcwenger Committed by Scott Cyphers

Brought NGRAPH_INSTANTIATE_TEST_CASE_P use of static into alignment with gtest…

Brought NGRAPH_INSTANTIATE_TEST_CASE_P use of static into alignment with gtest 1.8.1's use of statics (#2216)
parent 2b498a6c
...@@ -169,12 +169,12 @@ namespace ngraph ...@@ -169,12 +169,12 @@ namespace ngraph
// --gtest_filter=BACKENDNAME*.* // --gtest_filter=BACKENDNAME*.*
// (rather than the BACKENDNAME.* that worked before the use of NGRAPH_TEST_P) // (rather than the BACKENDNAME.* that worked before the use of NGRAPH_TEST_P)
#define NGRAPH_INSTANTIATE_TEST_CASE_P(backend_name, prefix, test_case_name, generator) \ #define NGRAPH_INSTANTIATE_TEST_CASE_P(backend_name, prefix, test_case_name, generator) \
::testing::internal::ParamGenerator<test_case_name::ParamType> \ static ::testing::internal::ParamGenerator<test_case_name::ParamType> \
gtest_##prefix##backend_name##test_case_name##_EvalGenerator_() \ gtest_##prefix##backend_name##test_case_name##_EvalGenerator_() \
{ \ { \
return generator; \ return generator; \
} \ } \
::std::string gtest_##prefix##backend_name##test_case_name##_EvalGenerateName_( \ static ::std::string gtest_##prefix##backend_name##test_case_name##_EvalGenerateName_( \
const ::testing::TestParamInfo<test_case_name::ParamType>& info) \ const ::testing::TestParamInfo<test_case_name::ParamType>& info) \
{ \ { \
return ::testing::internal::GetParamNameGen<test_case_name::ParamType>()(info); \ return ::testing::internal::GetParamNameGen<test_case_name::ParamType>()(info); \
......
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