summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-03-29 15:15:46 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-03-29 15:15:46 (GMT)
commit26152e7a0e93c1fdb219cdf9d3020e85a8c71c5e (patch)
tree64a2eaac0f077cf373f7e106322842c284b1ad6c /tools
parentdf8d328f18bb1e53cd156be598f90c91ee798cf4 (diff)
downloadhdf5-26152e7a0e93c1fdb219cdf9d3020e85a8c71c5e.zip
hdf5-26152e7a0e93c1fdb219cdf9d3020e85a8c71c5e.tar.gz
hdf5-26152e7a0e93c1fdb219cdf9d3020e85a8c71c5e.tar.bz2
[svn-r20364] Updated commands to properly clear generated files
bring r20363 from trunk
Diffstat (limited to 'tools')
-rw-r--r--tools/h5copy/CMakeLists.txt2
-rw-r--r--tools/h5import/CMakeLists.txt5
2 files changed, 2 insertions, 5 deletions
diff --git a/tools/h5copy/CMakeLists.txt b/tools/h5copy/CMakeLists.txt
index 7c008a3..8a6ca11 100644
--- a/tools/h5copy/CMakeLists.txt
+++ b/tools/h5copy/CMakeLists.txt
@@ -329,10 +329,10 @@ IF (BUILD_TESTING)
NAME H5COPY-clear-misc
COMMAND ${CMAKE_COMMAND}
-E remove
- ./testfiles/h5copy_misc1.out.h5
./testfiles/h5copy_misc1.out.out
./testfiles/h5copy_misc1.out.out.err
./testfiles/${HDF_FILE1_TMP}.h5
+ ./testfiles/h5copy_misc1.out.h5
)
IF (NOT "${last_test}" STREQUAL "")
SET_TESTS_PROPERTIES (H5COPY-clear-misc PROPERTIES DEPENDS ${last_test})
diff --git a/tools/h5import/CMakeLists.txt b/tools/h5import/CMakeLists.txt
index 3ac114e..313151e 100644
--- a/tools/h5import/CMakeLists.txt
+++ b/tools/h5import/CMakeLists.txt
@@ -194,12 +194,9 @@ IF (BUILD_TESTING)
txtin16.txt
txtin32.txt
)
- SET (last_test "H5IMPORT-clear-objects")
ADD_TEST (NAME H5IMPORT-h5importtest COMMAND $<TARGET_FILE:h5importtest>)
- IF (NOT "${last_test}" STREQUAL "")
- SET_TESTS_PROPERTIES (H5IMPORT-h5importtest PROPERTIES DEPENDS ${last_test})
- ENDIF (NOT "${last_test}" STREQUAL "")
+ SET_TESTS_PROPERTIES (H5IMPORT-h5importtest PROPERTIES DEPENDS H5IMPORT-clear-objects)
SET (last_test "H5IMPORT-h5importtest")
# ----- TESTING "ASCII I32 rank 3 - Output BE "