diff --git a/test/SerialIOTest.cpp b/test/SerialIOTest.cpp index 0faf40790a..f511d878e6 100644 --- a/test/SerialIOTest.cpp +++ b/test/SerialIOTest.cpp @@ -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. */ @@ -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]")