summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-02-28 15:26:11 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-02-28 15:26:11 (GMT)
commitbf9b73e877302948a54a9a4129ffb265f39b574f (patch)
treef207280ab13eb419be635bfc3a5c8fbaff78cd83
parent23ceda33b3f6b6903ce7bd4373347af5e0a33cd6 (diff)
downloadhdf5-bf9b73e877302948a54a9a4129ffb265f39b574f.zip
hdf5-bf9b73e877302948a54a9a4129ffb265f39b574f.tar.gz
hdf5-bf9b73e877302948a54a9a4129ffb265f39b574f.tar.bz2
Remove t_cache_image test on Windows
-rw-r--r--testpar/CMakeTests.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/testpar/CMakeTests.cmake b/testpar/CMakeTests.cmake
index 87470f3..cd9acda 100644
--- a/testpar/CMakeTests.cmake
+++ b/testpar/CMakeTests.cmake
@@ -18,6 +18,10 @@
add_test (NAME TEST_PAR_testphdf5 COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:testphdf5> ${MPIEXEC_POSTFLAGS})
+if (WIN32)
+ # t_cache_imagee uses fork() and execve(), will not run on Windows
+ list (REMOVE_ITEM H5P_TESTS t_cache_image)
+endif ()
foreach (testp ${H5P_TESTS})
add_test (NAME TEST_PAR_${testp} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:${testp}> ${MPIEXEC_POSTFLAGS})
endforeach ()