summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-05-01 19:46:13 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-05-01 19:46:27 (GMT)
commitc030a7123d1f7365c9ab069ba76192186cfe9d33 (patch)
treed89407c4b1c5a4fd26037a124e21427dde739b97 /testpar
parentc30a24bb166c8d8f27a41cd939f7bdd541ebccd0 (diff)
downloadhdf5-c030a7123d1f7365c9ab069ba76192186cfe9d33.zip
hdf5-c030a7123d1f7365c9ab069ba76192186cfe9d33.tar.gz
hdf5-c030a7123d1f7365c9ab069ba76192186cfe9d33.tar.bz2
Correct var usage syntax
Diffstat (limited to 'testpar')
-rw-r--r--testpar/CMakeTests.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/CMakeTests.cmake b/testpar/CMakeTests.cmake
index aaaa4a4..4faa86b 100644
--- a/testpar/CMakeTests.cmake
+++ b/testpar/CMakeTests.cmake
@@ -30,7 +30,7 @@ set (SKIP_tests
tldsc
)
set (SKIP_testphdf5 "")
-foreach (skiptest SKIP_tests)
+foreach (skiptest ${SKIP_tests})
set (SKIP_testphdf5 "${SKIP_testphdf5};-x;${skiptest}")
endforeach ()
@@ -46,7 +46,7 @@ endif ()
set (last_test "MPI_TEST_testphdf5")
#execute the skipped tests
-foreach (skiptest SKIP_tests)
+foreach (skiptest ${SKIP_tests})
add_test (NAME MPI_TEST_testphdf5_${skiptest} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:testphdf5> ${MPIEXEC_POSTFLAGS} -o ${skiptest})
set_tests_properties (MPI_TEST_testphdf5_${skiptest} PROPERTIES
FIXTURES_REQUIRED par_clear_testphdf5