summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_remove_writer.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-03-10 01:14:09 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-03-10 01:14:09 (GMT)
commita44ac1af3f9e2b775598126338a596e83db2696e (patch)
tree894095472fa617bf20d0e2c78248664f23723199 /test/vfd_swmr_remove_writer.c
parent3ba3ce9bfa75a894da7ec75fb18ea4a57d8cf55d (diff)
downloadhdf5-a44ac1af3f9e2b775598126338a596e83db2696e.zip
hdf5-a44ac1af3f9e2b775598126338a596e83db2696e.tar.gz
hdf5-a44ac1af3f9e2b775598126338a596e83db2696e.tar.bz2
Excludes VFD SWMR acceptance tests on Windows
Via #ifdefs, not build system
Diffstat (limited to 'test/vfd_swmr_remove_writer.c')
-rw-r--r--test/vfd_swmr_remove_writer.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/vfd_swmr_remove_writer.c b/test/vfd_swmr_remove_writer.c
index 9ec5b98..e8dd998 100644
--- a/test/vfd_swmr_remove_writer.c
+++ b/test/vfd_swmr_remove_writer.c
@@ -36,6 +36,8 @@
#include "vfd_swmr_common.h"
#include "swmr_common.h"
+#ifndef H5_HAVE_WIN32_API
+
/****************/
/* Local Macros */
/****************/
@@ -399,3 +401,14 @@ int main(int argc, const char *argv[])
return 0;
} /* main() */
+
+#else /* H5_HAVE_WIN32_API */
+
+int
+main(void)
+{
+ HDfprintf(stderr, "Non-POSIX platform. Skipping.\n");
+ return EXIT_SUCCESS;
+} /* end main() */
+
+#endif /* H5_HAVE_WIN32_API */