summaryrefslogtreecommitdiffstats
path: root/testpar/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-11-01 18:41:44 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-11-01 18:41:44 (GMT)
commitf8fd6d0b41a242aae93689e1477478bc78bae471 (patch)
treed85ec9fabc353b7b401f48216000cbc37b7835f6 /testpar/CMakeTests.cmake
parent930cfc402dc2f17b1dbe9a6b3c5e15b95cc4c7ea (diff)
downloadhdf5-f8fd6d0b41a242aae93689e1477478bc78bae471.zip
hdf5-f8fd6d0b41a242aae93689e1477478bc78bae471.tar.gz
hdf5-f8fd6d0b41a242aae93689e1477478bc78bae471.tar.bz2
Correct usage of MPI vars
Diffstat (limited to 'testpar/CMakeTests.cmake')
-rw-r--r--testpar/CMakeTests.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/testpar/CMakeTests.cmake b/testpar/CMakeTests.cmake
index 6e2b05e..87470f3 100644
--- a/testpar/CMakeTests.cmake
+++ b/testpar/CMakeTests.cmake
@@ -16,10 +16,10 @@
##############################################################################
##############################################################################
-add_test (NAME TEST_PAR_testphdf5 COMMAND ${MPIEXEC} ${MPIEXEC_PREFLAGS} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_POSTFLAGS} $<TARGET_FILE:testphdf5>)
+add_test (NAME TEST_PAR_testphdf5 COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:testphdf5> ${MPIEXEC_POSTFLAGS})
foreach (testp ${H5P_TESTS})
- add_test (NAME TEST_PAR_${testp} COMMAND ${MPIEXEC} ${MPIEXEC_PREFLAGS} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_POSTFLAGS} $<TARGET_FILE:${testp}>)
+ 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