Skip to content

Commit

Permalink
CI Fix: use filesystem helpers only on Unix systems
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Aug 17, 2023
1 parent 6a0bc02 commit d809753
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/SerialIOTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2113,6 +2113,7 @@ inline void fileBased_write_test(const std::string &backend)
helper::listSeries(list);
}

#ifdef __unix__
/*
* Check that the ranktable was written correctly to every iteration file.
*/
Expand Down Expand Up @@ -2150,6 +2151,7 @@ inline void fileBased_write_test(const std::string &backend)
closedir(directory);
close(dirfd);
}
#endif // defined(__unix__)
}

TEST_CASE("fileBased_write_test", "[serial]")
Expand Down

0 comments on commit d809753

Please sign in to comment.