1 #***********************************************************************
2 #* GNU Lesser General Public License
4 #* This file is part of the GFDL Flexible Modeling System (FMS).
6 #* FMS is free software: you can redistribute it and/or modify it under
7 #* the terms of the GNU Lesser General Public License as published by
8 #* the Free Software Foundation, either version 3 of the License, or (at
9 #* your option) any later version.
11 #* FMS is distributed in the hope that it will be useful, but WITHOUT
12 #* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 #* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 #* You should have received a copy of the GNU Lesser General Public
17 #* License along with FMS. If not, see <http://www.gnu.org/licenses/>.
18 #***********************************************************************
20 # This is an automake file for the test_fms/diag_manager directory of the FMS
22 # uramirez, Ed Hartnett
24 # Find the needed mod and .inc files.
25 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/diag_manager/include -I$(MODDIR)
27 # Link to the FMS library.
28 LDADD = $(top_builddir)/libFMS/libFMS.la
30 # Build this test program.
31 check_PROGRAMS = test_diag_manager test_diag_manager_time \
32 test_diag_yaml test_diag_ocean test_modern_diag test_diag_buffer test_flush_nc_file\
33 test_flexible_time test_diag_update_buffer test_reduction_methods check_time_none \
34 check_time_min check_time_max check_time_sum check_time_avg test_diag_diurnal check_time_diurnal \
35 check_time_pow check_time_rms check_subregional test_cell_measures test_var_masks \
36 check_var_masks test_multiple_send_data test_diag_out_yaml test_output_every_freq \
37 test_dm_weights test_prepend_date test_ens_runs test_multi_file test_diag_attribute_add
39 # This is the source code for the test.
40 test_output_every_freq_SOURCES = test_output_every_freq.F90
41 test_dm_weights_SOURCES = test_dm_weights.F90
42 test_diag_manager_SOURCES = test_diag_manager.F90
43 test_diag_manager_time_SOURCES = test_diag_manager_time.F90
44 test_diag_update_buffer_SOURCES= test_diag_update_buffer.F90
45 test_diag_yaml_SOURCES = test_diag_yaml.F90
46 test_diag_ocean_SOURCES = test_diag_ocean.F90
47 test_modern_diag_SOURCES = test_modern_diag.F90
48 test_diag_buffer_SOURCES= test_diag_buffer.F90
49 test_flexible_time_SOURCES = test_flexible_time.F90
50 test_flush_nc_file_SOURCES = test_flush_nc_file.F90
51 test_diag_out_yaml_SOURCES = test_diag_out_yaml.F90
52 test_reduction_methods_SOURCES = testing_utils.F90 test_reduction_methods.F90
53 test_diag_diurnal_SOURCES = testing_utils.F90 test_diag_diurnal.F90
54 check_time_none_SOURCES = testing_utils.F90 check_time_none.F90
55 check_time_min_SOURCES = testing_utils.F90 check_time_min.F90
56 check_time_max_SOURCES = testing_utils.F90 check_time_max.F90
57 check_time_sum_SOURCES = testing_utils.F90 check_time_sum.F90
58 check_time_avg_SOURCES = testing_utils.F90 check_time_avg.F90
59 check_time_diurnal_SOURCES = testing_utils.F90 check_time_diurnal.F90
60 check_time_pow_SOURCES = testing_utils.F90 check_time_pow.F90
61 check_time_rms_SOURCES = testing_utils.F90 check_time_rms.F90
62 test_cell_measures_SOURCES = test_cell_measures.F90
63 check_subregional_SOURCES = check_subregional.F90
64 test_var_masks_SOURCES = test_var_masks.F90
65 check_var_masks_SOURCES = check_var_masks.F90
66 test_multiple_send_data_SOURCES = test_multiple_send_data.F90
67 test_prepend_date_SOURCES = test_prepend_date.F90
68 test_multi_file_SOURCES = test_multi_file.F90
69 test_ens_runs_SOURCES = test_ens_runs.F90
70 test_diag_attribute_add_SOURCES = test_diag_attribute_add.F90
73 SH_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \
74 $(abs_top_srcdir)/test_fms/tap-driver.sh
77 TESTS = test_diag_manager2.sh test_time_none.sh test_time_min.sh test_time_max.sh test_time_sum.sh \
78 test_time_avg.sh test_time_pow.sh test_time_rms.sh test_time_diurnal.sh test_cell_measures.sh \
79 test_subregional.sh test_var_masks.sh test_multiple_send_data.sh test_output_every_freq.sh \
80 test_dm_weights.sh test_flush_nc_file.sh test_prepend_date.sh test_ens_runs.sh test_multi_file.sh \
81 test_diag_attribute_add.sh
83 testing_utils.mod: testing_utils.$(OBJEXT)
85 # Copy over other needed files to the srcdir
86 EXTRA_DIST = test_diag_manager2.sh check_crashes.sh test_time_none.sh test_time_min.sh test_time_max.sh \
87 test_time_sum.sh test_time_avg.sh test_time_pow.sh test_time_rms.sh test_time_diurnal.sh \
88 test_cell_measures.sh test_subregional.sh test_var_masks.sh test_multiple_send_data.sh \
89 test_flush_nc_file.sh test_dm_weights.sh test_output_every_freq.sh test_prepend_date.sh \
90 test_ens_runs.sh test_multi_file.sh test_diag_attribute_add.sh
98 TESTS_ENVIRONMENT = skipflag=${skipflag}
100 CLEANFILES = *.yaml input.nml *.nc *.out diag_table* *-files/* *.dpi *.spi *.dyn *.spl *.mod