Skip to content

Commit

Permalink
Stop C/TestBPWriteStatsOnly from running with MPI, it's not suitable (o…
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer authored Oct 8, 2024
1 parent 9e38983 commit a25fe5d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion testing/adios2/bindings/C/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ gtest_add_tests_helper(NullWriteRead MPI_ALLOW "" Bindings.C. "")
gtest_add_tests_helper(WriteAggregateReadLocal MPI_ONLY BP Bindings.C. "")
gtest_add_tests_helper(AvailableVariablesAttribites MPI_ONLY BP Bindings.C. "")
gtest_add_tests_helper(MemorySpace MPI_NONE BP Bindings.C. "")
gtest_add_tests_helper(WriteStatsOnly MPI_ALLOW BP Bindings.C. "")
gtest_add_tests_helper(WriteStatsOnly MPI_NONE BP Bindings.C. "")
4 changes: 0 additions & 4 deletions testing/adios2/bindings/C/TestBPWriteStatsOnly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ class ADIOS2_C_API : public ::testing::Test

TEST_F(ADIOS2_C_API, ADIOS2BPWriteStatsOnly)
{
#if ADIOS2_USE_MPI
const char fname[] = "ADIOS2_C_API.ADIOS2BPWriteStatsOnly_MPI.bp";
#else
const char fname[] = "ADIOS2_C_API.ADIOS2BPWriteStatsOnly.bp";
#endif
// write
{
adios2_io *ioH = adios2_declare_io(adiosH, "CWriteStats");
Expand Down

0 comments on commit a25fe5d

Please sign in to comment.