mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r20320] Correct clear objects for H5MKGRP tests
Tested:local linux
This commit is contained in:
parent
8f12c469e2
commit
d4a547aba8
@ -163,6 +163,14 @@ IF (BUILD_TESTING)
|
||||
ENDMACRO (ADD_H5_TEST resultfile resultcode resultoption)
|
||||
|
||||
MACRO (ADD_H5_CMP resultfile resultcode)
|
||||
ADD_TEST (
|
||||
NAME H5MKGRP-clear-${resultfile}
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-E remove
|
||||
${PROJECT_BINARY_DIR}/../testfiles/${resultfile}.h5
|
||||
${PROJECT_BINARY_DIR}/${resultfile}.out
|
||||
${PROJECT_BINARY_DIR}/${resultfile}.out.err
|
||||
)
|
||||
IF (HDF5_ENABLE_USING_MEMCHECKER)
|
||||
ADD_TEST (NAME H5MKGRP-${resultfile} COMMAND $<TARGET_FILE:h5mkgrp> ${ARGN})
|
||||
ELSE (HDF5_ENABLE_USING_MEMCHECKER)
|
||||
@ -178,6 +186,7 @@ IF (BUILD_TESTING)
|
||||
-P "${HDF5_RESOURCES_DIR}/runTest.cmake"
|
||||
)
|
||||
ENDIF (HDF5_ENABLE_USING_MEMCHECKER)
|
||||
SET_TESTS_PROPERTIES (H5MKGRP-${resultfile} PROPERTIES DEPENDS H5MKGRP-clear-${resultfile})
|
||||
ENDMACRO (ADD_H5_CMP resultfile resultcode)
|
||||
|
||||
##############################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user