We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf6f5bb commit 9701449Copy full SHA for 9701449
1 file changed
test/ParallelIOTest.cpp
@@ -36,6 +36,16 @@
36
#include <catch2/catch_test_macros.hpp>
37
#include <catch2/matchers/catch_matchers_string.hpp>
38
39
+#if !openPMD_HAVE_MPI
40
+#define PARALLEL_TEST_CASE(name, tags) TEST_CASE(#name, tags)
41
+
42
+PARALLEL_TEST_CASE(none, "[parallel]")
43
+{}
44
45
+#else
46
47
+#include <mpi.h>
48
49
#define PARALLEL_TEST_CASE(name, tags) \
50
static void openPMD_parallel_##name(); \
51
TEST_CASE(#name, tags) \
@@ -53,14 +63,6 @@
53
63
} \
54
64
static void openPMD_parallel_##name()
55
65
56
-#if !openPMD_HAVE_MPI
57
-TEST_CASE("none", "[parallel]")
58
-{}
59
-
60
-#else
61
62
-#include <mpi.h>
66
#if openPMD_HAVE_ADIOS2
67
#include <adios2.h>
68
#define HAS_ADIOS_2_8 (ADIOS2_VERSION_MAJOR * 100 + ADIOS2_VERSION_MINOR >= 208)
0 commit comments