summaryrefslogtreecommitdiffstats
path: root/hl/fortran/examples
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-05-04 15:19:34 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-05-04 15:19:34 (GMT)
commit949853b04726cee02873da34d753dd94740345fe (patch)
treef05b5b7ae1bb6db23d4f8c8a505a933663dbe619 /hl/fortran/examples
parent74f3326a67da158d8a808f92c59cae6e762c7c21 (diff)
downloadhdf5-949853b04726cee02873da34d753dd94740345fe.zip
hdf5-949853b04726cee02873da34d753dd94740345fe.tar.gz
hdf5-949853b04726cee02873da34d753dd94740345fe.tar.bz2
[svn-r29864] Add ignore test names for Valgrind process.
Add files to clear test generated files tests.
Diffstat (limited to 'hl/fortran/examples')
-rw-r--r--hl/fortran/examples/CMakeTests.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/hl/fortran/examples/CMakeTests.cmake b/hl/fortran/examples/CMakeTests.cmake
index 954a01b..2c10295 100644
--- a/hl/fortran/examples/CMakeTests.cmake
+++ b/hl/fortran/examples/CMakeTests.cmake
@@ -5,6 +5,17 @@
##############################################################################
##############################################################################
+# Remove any output file left over from previous test run
+add_test (
+ NAME HL_FORTRAN_f90_ex-clear-objects
+ COMMAND ${CMAKE_COMMAND}
+ -E remove
+ ex_ds1.h5
+ exlite.h5
+)
+
+
foreach (example ${examples})
add_test (NAME HL_FORTRAN_f90_ex_${example} COMMAND $<TARGET_FILE:hl_f90_ex_${example}>)
+ set_tests_properties (HL_FORTRAN_f90_ex_${example} PROPERTIES DEPENDS HL_FORTRAN_f90_ex-clear-objects)
endforeach (example ${examples})