summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-08-09 15:29:58 (GMT)
committerGitHub <noreply@github.com>2022-08-09 15:29:58 (GMT)
commitb84241e57a97309b15846da4cc74611a66d92f6d (patch)
tree2e6d6276364208e2b73391329842522fe945f70d /examples
parent60ba2356de3f074b18acf2ba7737da160274b803 (diff)
downloadhdf5-b84241e57a97309b15846da4cc74611a66d92f6d.zip
hdf5-b84241e57a97309b15846da4cc74611a66d92f6d.tar.gz
hdf5-b84241e57a97309b15846da4cc74611a66d92f6d.tar.bz2
Remove stray files, incorrect vds and mpi clean files (#1979)
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeTests.cmake22
1 files changed, 0 insertions, 22 deletions
diff --git a/examples/CMakeTests.cmake b/examples/CMakeTests.cmake
index d81adfc..878aac8 100644
--- a/examples/CMakeTests.cmake
+++ b/examples/CMakeTests.cmake
@@ -116,27 +116,6 @@ if (H5_HAVE_PARALLEL AND HDF5_TEST_PARALLEL AND NOT WIN32)
# The number 24 corresponds to SPACE1_DIM1 and SPACE1_DIM2 defined in ph5example.c
math(EXPR NUMPROCS "24 / ((24 + ${MPIEXEC_MAX_NUMPROCS} - 1) / ${MPIEXEC_MAX_NUMPROCS})")
- set (mpi_test_ex_CLEANFILES
- )
-
- # Remove any output file left over from previous test run
- add_test (
- NAME MPI_TEST_EXAMPLES-clear-objects
- COMMAND ${CMAKE_COMMAND} -E remove ${mpi_test_ex_CLEANFILES}
- )
- set_tests_properties (MPI_TEST_EXAMPLES-clear-objects PROPERTIES
- FIXTURES_SETUP clear_MPI_TEST_EXAMPLES
- WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
- )
- add_test (
- NAME MPI_TEST_EXAMPLES-clean-objects
- COMMAND ${CMAKE_COMMAND} -E remove ${mpi_test_ex_CLEANFILES}
- )
- set_tests_properties (MPI_TEST_EXAMPLES-clean-objects PROPERTIES
- FIXTURES_CLEANUP clear_MPI_TEST_EXAMPLES
- WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
- )
-
foreach (parallel_example ${parallel_examples})
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME MPI_TEST_EXAMPLES-${parallel_example} COMMAND ${MPIEXEC_EXECUTABLE} ${MPIEXEC_NUMPROC_FLAG} ${NUMPROCS} ${MPIEXEC_PREFLAGS} $<TARGET_FILE:${parallel_example}> ${MPIEXEC_POSTFLAGS})
@@ -153,7 +132,6 @@ if (H5_HAVE_PARALLEL AND HDF5_TEST_PARALLEL AND NOT WIN32)
-P "${HDF_RESOURCES_EXT_DIR}/grepTest.cmake"
)
endif ()
- set_tests_properties (MPI_TEST_EXAMPLES-${parallel_example} PROPERTIES FIXTURES_REQUIRED clear_MPI_TEST_EXAMPLES)
if (last_test)
set_tests_properties (MPI_TEST_EXAMPLES-${parallel_example} PROPERTIES DEPENDS ${last_test})
endif ()