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_generator.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_generator.c')
-rw-r--r-- | test/vfd_swmr_generator.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/vfd_swmr_generator.c b/test/vfd_swmr_generator.c index a1cc26f..ff20ba7 100644 --- a/test/vfd_swmr_generator.c +++ b/test/vfd_swmr_generator.c @@ -37,6 +37,7 @@ #define H5O_TESTING #include "H5Opkg.h" /* Object headers */ +#ifndef H5_HAVE_WIN32_API /****************/ /* Local Macros */ @@ -381,3 +382,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 */ |