2013-08-20 05:49:44 +08:00
|
|
|
|
|
|
|
##############################################################################
|
|
|
|
##############################################################################
|
|
|
|
### T E S T I N G ###
|
|
|
|
##############################################################################
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
# Remove any output file left over from previous test run
|
2014-03-12 06:07:13 +08:00
|
|
|
add_test (
|
2014-04-03 02:35:01 +08:00
|
|
|
NAME HL_FORTRAN_test-clear-objects
|
2013-08-20 05:49:44 +08:00
|
|
|
COMMAND ${CMAKE_COMMAND}
|
|
|
|
-E remove
|
|
|
|
dsetf1.h5
|
|
|
|
dsetf2.h5
|
|
|
|
dsetf3.h5
|
|
|
|
dsetf4.h5
|
|
|
|
dsetf5.h5
|
2013-11-02 05:15:37 +08:00
|
|
|
f1img.h5
|
2013-08-20 05:49:44 +08:00
|
|
|
f1tab.h5
|
2013-11-02 05:15:37 +08:00
|
|
|
tstds.h5
|
2013-08-20 05:49:44 +08:00
|
|
|
)
|
|
|
|
|
2014-04-03 02:35:01 +08:00
|
|
|
add_test (NAME HL_FORTRAN_f90_tstds COMMAND $<TARGET_FILE:hl_f90_tstds>)
|
|
|
|
set_tests_properties (HL_FORTRAN_f90_tstds PROPERTIES DEPENDS HL_FORTRAN_test-clear-objects)
|
2013-08-20 05:49:44 +08:00
|
|
|
|
2014-04-03 02:35:01 +08:00
|
|
|
add_test (NAME HL_FORTRAN_f90_tstlite COMMAND $<TARGET_FILE:hl_f90_tstlite>)
|
|
|
|
set_tests_properties (HL_FORTRAN_f90_tstlite PROPERTIES DEPENDS HL_FORTRAN_test-clear-objects)
|
2013-08-20 05:49:44 +08:00
|
|
|
|
2014-04-03 02:35:01 +08:00
|
|
|
add_test (NAME HL_FORTRAN_f90_tstimage COMMAND $<TARGET_FILE:hl_f90_tstimage>)
|
|
|
|
set_tests_properties (HL_FORTRAN_f90_tstimage PROPERTIES DEPENDS HL_FORTRAN_test-clear-objects)
|
2013-08-20 05:49:44 +08:00
|
|
|
|
2014-04-03 02:35:01 +08:00
|
|
|
add_test (NAME HL_FORTRAN_f90_tsttable COMMAND $<TARGET_FILE:hl_f90_tsttable>)
|
|
|
|
set_tests_properties (HL_FORTRAN_f90_tsttable PROPERTIES DEPENDS HL_FORTRAN_test-clear-objects)
|