diff --git a/test/Files_SerialIO/SerialIOTests.hpp b/test/Files_SerialIO/SerialIOTests.hpp index 541d4dcaf1..05fd592f61 100644 --- a/test/Files_SerialIO/SerialIOTests.hpp +++ b/test/Files_SerialIO/SerialIOTests.hpp @@ -2,9 +2,11 @@ namespace filebased_write_test { +OPENPMDAPI_EXPORT auto close_and_reopen_iterations(std::string const &filename) -> void; -} +} // namespace filebased_write_test namespace close_and_reopen_test { +OPENPMDAPI_EXPORT auto close_and_reopen_test() -> void; -} +} // namespace close_and_reopen_test diff --git a/test/Files_SerialIO/close_iteration_test.cpp b/test/Files_SerialIO/close_iteration_test.cpp index f4ab333636..4d10fb6fdb 100644 --- a/test/Files_SerialIO/close_iteration_test.cpp +++ b/test/Files_SerialIO/close_iteration_test.cpp @@ -1,6 +1,7 @@ #include "SerialIOTests.hpp" #include "openPMD/IO/ADIOS/macros.hpp" #include "openPMD/IO/Access.hpp" +#include "openPMD/auxiliary/Export.hpp" #include "openPMD/auxiliary/Filesystem.hpp" #include @@ -269,6 +270,7 @@ auto run_test_groupbased( } } +OPENPMDAPI_EXPORT auto close_and_reopen_test() -> void { run_test_filebased([](Series &s) { return s.iterations; }, "bp"); diff --git a/test/Files_SerialIO/filebased_write_test.cpp b/test/Files_SerialIO/filebased_write_test.cpp index 0a7109ca2f..2d927021fa 100644 --- a/test/Files_SerialIO/filebased_write_test.cpp +++ b/test/Files_SerialIO/filebased_write_test.cpp @@ -1,5 +1,6 @@ #include "SerialIOTests.hpp" #include "openPMD/IO/Access.hpp" +#include "openPMD/auxiliary/Export.hpp" namespace filebased_write_test { @@ -77,6 +78,7 @@ void close_and_reopen_iterations( } } +OPENPMDAPI_EXPORT void close_and_reopen_iterations(std::string const &filename) { close_and_reopen_iterations(