diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-07-03 20:30:41 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-07-03 20:30:41 (GMT) |
commit | 1c7420d1e3dfc7b6c957410925cae2ce726ead6f (patch) | |
tree | 831e67c5dc5df9cb10087d33a1b180172eff3cb9 /tools/test/perform/CMakeTests.cmake | |
parent | ce92a647163db7929d04b333b26eebc8b81a089a (diff) | |
download | hdf5-1c7420d1e3dfc7b6c957410925cae2ce726ead6f.zip hdf5-1c7420d1e3dfc7b6c957410925cae2ce726ead6f.tar.gz hdf5-1c7420d1e3dfc7b6c957410925cae2ce726ead6f.tar.bz2 |
perf test is parallel only
Diffstat (limited to 'tools/test/perform/CMakeTests.cmake')
-rw-r--r-- | tools/test/perform/CMakeTests.cmake | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/tools/test/perform/CMakeTests.cmake b/tools/test/perform/CMakeTests.cmake index d079402..45f43b4 100644 --- a/tools/test/perform/CMakeTests.cmake +++ b/tools/test/perform/CMakeTests.cmake @@ -169,23 +169,9 @@ else () endif () set_tests_properties (PERFORM_zip_perf PROPERTIES DEPENDS "PERFORM_zip_perf_help;PERFORM_h5perform-clearall-objects") -if (HDF5_ENABLE_USING_MEMCHECKER) - add_test (NAME PERFORM_perf COMMAND $<TARGET_FILE:perf>) -else () - add_test (NAME PERFORM_perf COMMAND "${CMAKE_COMMAND}" - -D "TEST_PROGRAM=$<TARGET_FILE:perf>" - -D "TEST_ARGS:STRING=" - -D "TEST_EXPECT=0" - -D "TEST_SKIP_COMPARE=TRUE" - -D "TEST_OUTPUT=perf.txt" - #-D "TEST_REFERENCE=perf.out" - -D "TEST_FOLDER=${PROJECT_BINARY_DIR}" - -P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake" - ) -endif () -set_tests_properties (PERFORM_perf PROPERTIES DEPENDS "PERFORM_h5perform-clearall-objects") - if (H5_HAVE_PARALLEL) + add_test (NAME MPI_TEST_PERFORM_perf COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:perf> ${MPIEXEC_POSTFLAGS}) + add_test (NAME MPI_TEST_PERFORM_h5perf COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${MPIEXEC_MAX_NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:h5perf> ${MPIEXEC_POSTFLAGS}) if (HDF5_BUILD_PERFORM_STANDALONE) |