summaryrefslogtreecommitdiffstats
path: root/test/flush2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/flush2.c')
-rw-r--r--test/flush2.c21
1 files changed, 17 insertions, 4 deletions
diff --git a/test/flush2.c b/test/flush2.c
index 6c6ad85..b8761bf 100644
--- a/test/flush2.c
+++ b/test/flush2.c
@@ -196,8 +196,14 @@ main(void)
PASSED()
else
{
- H5_FAILED()
- goto error;
+#if defined WIN32 && defined _HDF5USEDLL_
+ SKIPPED();
+ puts(" DLL will flush the file even when calling _exit, skip this test temporarily");
+
+#else
+ H5_FAILED()
+ goto error;
+#endif
}
H5Eset_auto_stack(H5E_DEFAULT, func, NULL);
@@ -212,8 +218,15 @@ main(void)
PASSED()
else
{
- H5_FAILED()
- goto error;
+#if defined WIN32 && defined _HDF5USEDLL_
+ SKIPPED();
+ puts(" DLL will flush the file even when calling _exit, skip this test temporarily");
+
+#else
+ H5_FAILED()
+ goto error;
+#endif
+
}
H5Eset_auto_stack(H5E_DEFAULT, func, NULL);