summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-05-09 21:10:26 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-05-09 21:10:26 (GMT)
commit79a646acc7227308c0266c7e9f321524de66a0a1 (patch)
tree56e92266d54a628f665d1af8e2bc9f409ae9e374
parent040d210f5c5f3f5f46daae8c86c155941c89f58e (diff)
downloadhdf5-79a646acc7227308c0266c7e9f321524de66a0a1.zip
hdf5-79a646acc7227308c0266c7e9f321524de66a0a1.tar.gz
hdf5-79a646acc7227308c0266c7e9f321524de66a0a1.tar.bz2
[svn-r20780] Corrected export test to use parameters passed in from ADD_TEST()
Tested: local linux
-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})