diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2016-05-04 15:19:34 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2016-05-04 15:19:34 (GMT) |
commit | 949853b04726cee02873da34d753dd94740345fe (patch) | |
tree | f05b5b7ae1bb6db23d4f8c8a505a933663dbe619 /hl | |
parent | 74f3326a67da158d8a808f92c59cae6e762c7c21 (diff) | |
download | hdf5-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')
-rw-r--r-- | hl/fortran/examples/CMakeTests.cmake | 11 | ||||
-rw-r--r-- | hl/fortran/test/CMakeTests.cmake | 2 |
2 files changed, 13 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}) diff --git a/hl/fortran/test/CMakeTests.cmake b/hl/fortran/test/CMakeTests.cmake index 499e255..c538ae8 100644 --- a/hl/fortran/test/CMakeTests.cmake +++ b/hl/fortran/test/CMakeTests.cmake @@ -17,6 +17,7 @@ add_test ( dsetf5.h5 f1img.h5 f1tab.h5 + f2tab.h5 tstds.h5 ) @@ -44,6 +45,7 @@ if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED) dsetf5.h5 f1img.h5 f1tab.h5 + f2tab.h5 tstds.h5 ) set_tests_properties (HL_FORTRAN_test-shared-clear-objects |