diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-03-10 01:14:09 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-03-10 01:14:09 (GMT) |
commit | a44ac1af3f9e2b775598126338a596e83db2696e (patch) | |
tree | 894095472fa617bf20d0e2c78248664f23723199 /test/vfd_swmr_sparse_writer.c | |
parent | 3ba3ce9bfa75a894da7ec75fb18ea4a57d8cf55d (diff) | |
download | hdf5-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_sparse_writer.c')
-rw-r--r-- | test/vfd_swmr_sparse_writer.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/test/vfd_swmr_sparse_writer.c b/test/vfd_swmr_sparse_writer.c index a431aee..a9c6e23 100644 --- a/test/vfd_swmr_sparse_writer.c +++ b/test/vfd_swmr_sparse_writer.c @@ -28,13 +28,15 @@ /***********/ /* Headers */ /***********/ -#include <err.h> -#include <signal.h> #include "h5test.h" #include "vfd_swmr_common.h" #include "swmr_common.h" +#ifndef H5_HAVE_WIN32_API + +#include <err.h> + /****************/ /* Local Macros */ /****************/ @@ -461,3 +463,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 */ |