Skip to content

Commit

Permalink
Only test if ADIOS2 version at least 2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Mar 1, 2023
1 parent 8cc7fee commit 1f299b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/SerialIOTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7279,7 +7279,14 @@ void joined_dim(std::string const &ext)

TEST_CASE("joined_dim", "[serial]")
{
#if 100000000 * ADIOS2_VERSION_MAJOR + 1000000 * ADIOS2_VERSION_MINOR + \
10000 * ADIOS2_VERSION_PATCH + 100 * ADIOS2_VERSION_TWEAK >= \
209000000
constexpr char const *supportsJoinedDims[] = {"bp", "bp4", "bp5"};
#else
// no zero-size arrays
std::vector<char const *> supportsJoinedDims;
#endif
for (auto const &t : testedFileExtensions())
{
for (auto const supported : supportsJoinedDims)
Expand Down

0 comments on commit 1f299b6

Please sign in to comment.