Skip to content

Commit 1f299b6

Browse files
committed
Only test if ADIOS2 version at least 2.9
1 parent 8cc7fee commit 1f299b6

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
@@ -7279,7 +7279,14 @@ void joined_dim(std::string const &ext)
72797279

72807280
TEST_CASE("joined_dim", "[serial]")
72817281
{
7282+
#if 100000000 * ADIOS2_VERSION_MAJOR + 1000000 * ADIOS2_VERSION_MINOR + \
7283+
10000 * ADIOS2_VERSION_PATCH + 100 * ADIOS2_VERSION_TWEAK >= \
7284+
209000000
72827285
constexpr char const *supportsJoinedDims[] = {"bp", "bp4", "bp5"};
7286+
#else
7287+
// no zero-size arrays
7288+
std::vector<char const *> supportsJoinedDims;
7289+
#endif
72837290
for (auto const &t : testedFileExtensions())
72847291
{
72857292
for (auto const supported : supportsJoinedDims)

0 commit comments

Comments
 (0)