Skip to content
Snippets Groups Projects
Commit 360d8172 authored by Danilo Piparo's avatar Danilo Piparo
Browse files

Fix GradientUnit test for no-imt builds

parent 98c0ba7a
No related branches found
No related tags found
Loading
...@@ -285,9 +285,17 @@ protected: ...@@ -285,9 +285,17 @@ protected:
// Types used by Google Test to instantiate the tests. // Types used by Google Test to instantiate the tests.
#ifdef R__HAS_VECCORE #ifdef R__HAS_VECCORE
# ifdef R__USE_IMT
typedef ::testing::Types<ScalarMultithread, VectorialSerial, VectorialMultithread> TestTypes; typedef ::testing::Types<ScalarMultithread, VectorialSerial, VectorialMultithread> TestTypes;
# else
typedef ::testing::Types<ScalarSerial, VectorialSerial, VectorialMultithread> TestTypes;
# endif
#else #else
typedef ::testing::Types<ScalarMultithread> TestTypes; # ifdef R__USE_IMT
typedef ::testing::Types<ScalarSerial> TestTypes;
# else
typedef ::testing::Types<ScalarSerial> TestTypes;
# endif
#endif #endif
TYPED_TEST_CASE(Chi2GradientTest, TestTypes); TYPED_TEST_CASE(Chi2GradientTest, TestTypes);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment