diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2013-11-01 21:26:11 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2013-11-01 21:26:11 (GMT) |
commit | 08901f283eeb75bef514be2a8ea285475e154e0d (patch) | |
tree | 5a2e926b3aae6d96a7c3052e62b21784f7b43ca4 /fortran/examples | |
parent | d242fd85c4d280a85522bf6ad31e2998d10e1e08 (diff) | |
download | hdf5-08901f283eeb75bef514be2a8ea285475e154e0d.zip hdf5-08901f283eeb75bef514be2a8ea285475e154e0d.tar.gz hdf5-08901f283eeb75bef514be2a8ea285475e154e0d.tar.bz2 |
[svn-r24393] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles.
Tested: local cmake, autotools
Diffstat (limited to 'fortran/examples')
-rw-r--r-- | fortran/examples/CMakeTests.cmake | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/fortran/examples/CMakeTests.cmake b/fortran/examples/CMakeTests.cmake index d5b201c..aebd39b 100644 --- a/fortran/examples/CMakeTests.cmake +++ b/fortran/examples/CMakeTests.cmake @@ -5,6 +5,30 @@ ############################################################################## ############################################################################## + # Remove any output file left over from previous test run + ADD_TEST ( + NAME f90_ex-clear-objects + COMMAND ${CMAKE_COMMAND} + -E remove + compound.h5 + copy1.h5 + copy2.h5 + dsetf.h5 + extend.h5 + FORTRAN.h5 + groupf.h5 + groupsf.h5 + h5_cmprss.h5 + mount1.h5 + mount2.h5 + sdsf.h5 + subset.h5 + ) + IF (NOT "${last_test}" STREQUAL "") + SET_TESTS_PROPERTIES (f90_ex-clear-objects PROPERTIES DEPENDS ${last_test}) + ENDIF (NOT "${last_test}" STREQUAL "") + SET (last_test "f90_ex-clear-objects") + FOREACH (example ${examples}) ADD_TEST (NAME f90_ex_${example} COMMAND $<TARGET_FILE:f90_ex_${example}>) IF (NOT "${last_test}" STREQUAL "") |