summaryrefslogtreecommitdiffstats
path: root/tools/h5import
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-10-06 20:51:02 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-10-06 20:51:02 (GMT)
commitc18db616e502fbdeed35966081a6aa6c4c61945d (patch)
tree6dc60d449a022be71b1a3b78ba83a2e3367f796a /tools/h5import
parent22db4c3113ba272b7797f6c7393f12c1149e3c91 (diff)
downloadhdf5-c18db616e502fbdeed35966081a6aa6c4c61945d.zip
hdf5-c18db616e502fbdeed35966081a6aa6c4c61945d.tar.gz
hdf5-c18db616e502fbdeed35966081a6aa6c4c61945d.tar.bz2
[svn-r19528] Add clear generated objects commands to test blocks.
Add configurefile command to copy CTestCustom to build folder. Bring r19527 back from trunk Tested: local linux
Diffstat (limited to 'tools/h5import')
-rw-r--r--tools/h5import/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/h5import/CMakeLists.txt b/tools/h5import/CMakeLists.txt
index 00f6f1f..e2015dc 100644
--- a/tools/h5import/CMakeLists.txt
+++ b/tools/h5import/CMakeLists.txt
@@ -44,6 +44,22 @@ IF (BUILD_TESTING)
##############################################################################
##############################################################################
+ # Remove any output file left over from previous test run
+ ADD_TEST (
+ NAME H5IMPORT-clear-objects
+ COMMAND ${CMAKE_COMMAND}
+ -E remove
+ binfp64.bin
+ binin8.bin
+ binin8w.bin
+ binin16.bin
+ binin32.bin
+ binuin16.bin
+ binuin32.bin
+ txtin16.txt
+ txtin32.txt
+ )
+
ADD_TEST (NAME h5importtest COMMAND $<TARGET_FILE:h5importtest>)
ENDIF (BUILD_TESTING)