summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-05-09 21:09:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-05-09 21:09:29 (GMT)
commit67d4653d0fe05da6c8d62206bc770034d540e784 (patch)
tree9d854b7d30944e3e650014e9433e65b42c3e34bb /tools
parent4e5f011c34295706e606e1e235be2e58f6b1330b (diff)
downloadhdf5-67d4653d0fe05da6c8d62206bc770034d540e784.zip
hdf5-67d4653d0fe05da6c8d62206bc770034d540e784.tar.gz
hdf5-67d4653d0fe05da6c8d62206bc770034d540e784.tar.bz2
[svn-r20779] Corrected export test to use parameters passed in from ADD_TEST()
Tested: local linux
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5dump/CMakeLists.txt b/tools/h5dump/CMakeLists.txt
index 2032057..9da1203 100644
--- a/tools/h5dump/CMakeLists.txt
+++ b/tools/h5dump/CMakeLists.txt
@@ -517,7 +517,7 @@ IF (BUILD_TESTING)
MACRO (ADD_H5_EXPORT_TEST resultfile targetfile resultcode)
ADD_TEST (
NAME H5DUMP-output-${resultfile}
- COMMAND $<TARGET_FILE:h5dump> -d /Dataset1 -s 0 -R -y -o ${PROJECT_BINARY_DIR}/${resultfile}.txt ${PROJECT_BINARY_DIR}/${targetfile}
+ COMMAND $<TARGET_FILE:h5dump> ${ARGN} ${PROJECT_BINARY_DIR}/${resultfile}.txt ${PROJECT_BINARY_DIR}/${targetfile}
)
IF (NOT "${last_test}" STREQUAL "")
SET_TESTS_PROPERTIES (H5DUMP-output-${resultfile} PROPERTIES DEPENDS ${last_test})