summaryrefslogtreecommitdiffstats
path: root/testpar/CMakeTests.cmake
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-01-04 04:45:58 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-01-04 04:45:58 (GMT)
commitd59aa1d75cb6d0ae4f5964d017e275aa53394eb6 (patch)
treed38f835c069066dc7423f610fc8a775c1427c132 /testpar/CMakeTests.cmake
parent2a28b92e2bb7748e123a9ee5ccad1c8bcb42462d (diff)
downloadhdf5-d59aa1d75cb6d0ae4f5964d017e275aa53394eb6.zip
hdf5-d59aa1d75cb6d0ae4f5964d017e275aa53394eb6.tar.gz
hdf5-d59aa1d75cb6d0ae4f5964d017e275aa53394eb6.tar.bz2
Cleaned up the parallel flush test and set t_pflush1 to always fail.
Also set CMake to handle this.
Diffstat (limited to 'testpar/CMakeTests.cmake')
-rw-r--r--testpar/CMakeTests.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/CMakeTests.cmake b/testpar/CMakeTests.cmake
index dffb813..a0d7f59 100644
--- a/testpar/CMakeTests.cmake
+++ b/testpar/CMakeTests.cmake
@@ -22,9 +22,9 @@ 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 ()
-# The following will only be correct on windows shared
-#set_tests_properties (TEST_PAR_t_pflush1 PROPERTIES WILL_FAIL "true")
-set_property (TEST TEST_PAR_t_pflush1 PROPERTY PASS_REGULAR_EXPRESSION "PASSED")
+# The t_pflush1 test is hard-coded to fail.
+set_tests_properties (TEST_PAR_t_pflush1 PROPERTIES WILL_FAIL "true")
+#set_property (TEST TEST_PAR_t_pflush1 PROPERTY PASS_REGULAR_EXPRESSION "PASSED")
set_tests_properties (TEST_PAR_t_pflush2 PROPERTIES DEPENDS TEST_PAR_t_pflush1)
##############################################################################