Skip to content

Commit 9624ac2

Browse files
committed
Only test if ADIOS2 version at least 2.9
1 parent cfdcc28 commit 9624ac2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/SerialIOTest.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7245,7 +7245,14 @@ void joined_dim(std::string const &ext)
72457245

72467246
TEST_CASE("joined_dim", "[serial]")
72477247
{
7248+
#if 100000000 * ADIOS2_VERSION_MAJOR + 1000000 * ADIOS2_VERSION_MINOR + \
7249+
10000 * ADIOS2_VERSION_PATCH + 100 * ADIOS2_VERSION_TWEAK >= \
7250+
209000000
72487251
constexpr char const *supportsJoinedDims[] = {"bp", "bp4", "bp5"};
7252+
#else
7253+
// no zero-size arrays
7254+
std::vector<char const *> supportsJoinedDims;
7255+
#endif
72497256
for (auto const &t : testedFileExtensions())
72507257
{
72517258
for (auto const supported : supportsJoinedDims)

0 commit comments

Comments
 (0)