summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-02-12 18:09:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-02-12 18:09:29 (GMT)
commit334cebba07e528cd6dc2095fde74fc1d384c2edb (patch)
treeddb9cc07daa3757362744857befac5470b5de57e
parent4680324b24ffda929ae04738fda35f735b656677 (diff)
downloadhdf5-334cebba07e528cd6dc2095fde74fc1d384c2edb.zip
hdf5-334cebba07e528cd6dc2095fde74fc1d384c2edb.tar.gz
hdf5-334cebba07e528cd6dc2095fde74fc1d384c2edb.tar.bz2
[svn-r23251] Fix test dependency flow
-rw-r--r--tools/h5dump/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/h5dump/CMakeLists.txt b/tools/h5dump/CMakeLists.txt
index 4d6e080..9e081c6 100644
--- a/tools/h5dump/CMakeLists.txt
+++ b/tools/h5dump/CMakeLists.txt
@@ -1275,6 +1275,10 @@ IF (BUILD_TESTING)
-E remove twithddl.txt
)
SET_TESTS_PROPERTIES (H5DUMP-clear-twithddlfile-export PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/std")
+ IF (NOT "${last_test}" STREQUAL "")
+ SET_TESTS_PROPERTIES (H5DUMP-clear-twithddlfile-export PROPERTIES DEPENDS ${last_test})
+ ENDIF (NOT "${last_test}" STREQUAL "")
+ SET (last_test "H5DUMP-clear-twithddlfile-export")
ADD_H5_TEST_EXPORT (twithddlfile packedbits.h5 0 --enable-error-stack --ddl=twithddl.txt -y -o)
ADD_TEST (
NAME H5DUMP-output-cmp-meta-twithddlfile
@@ -1282,7 +1286,7 @@ IF (BUILD_TESTING)
-E compare_files twithddl.txt twithddl.exp
)
SET_TESTS_PROPERTIES (H5DUMP-output-cmp-meta-twithddlfile PROPERTIES WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/testfiles/std")
- SET_TESTS_PROPERTIES (H5DUMP-output-cmp-meta-twithddlfile PROPERTIES DEPENDS "H5DUMP-clear-twithddlfile-export")
+ SET_TESTS_PROPERTIES (H5DUMP-output-cmp-meta-twithddlfile PROPERTIES DEPENDS "(H5DUMP-output-cmp-twithddlfile")
ENDIF (NOT HDF5_ENABLE_USING_MEMCHECKER)
# test for maximum display datasets