Skip to content

Commit

Permalink
fix ddt test
Browse files Browse the repository at this point in the history
  • Loading branch information
peverwhee committed Dec 16, 2024
1 parent 161be18 commit 0b66295
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/ddthost_test/run_test
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ input_vars_ddt="${input_vars_ddt},horizontal_loop_end"
input_vars_ddt="${input_vars_ddt},model_times,number_of_model_times"
input_vars_ddt="${input_vars_ddt},surface_air_pressure"
output_vars_ddt="ccpp_error_code,ccpp_error_message"
output_vars_ddt="${output_vars_ddt},model_times,number_of_model_times"
output_vars_ddt="${output_vars_ddt},model_times,number_of_model_times,surface_air_pressure"
required_vars_temp="ccpp_error_code,ccpp_error_message"
required_vars_temp="${required_vars_temp},coefficients_for_interpolation"
required_vars_temp="${required_vars_temp},horizontal_dimension"
Expand Down
3 changes: 2 additions & 1 deletion test/ddthost_test/test_host.F90
Original file line number Diff line number Diff line change
Expand Up @@ -391,10 +391,11 @@ program test
'number_of_model_times ', &
'surface_air_pressure ' /)

character(len=cm), target :: test_outvars2(4) = (/ &
character(len=cm), target :: test_outvars2(5) = (/ &
'ccpp_error_code ', &
'ccpp_error_message ', &
'model_times ', &
'surface_air_pressure ', &
'number_of_model_times ' /)

character(len=cm), target :: test_reqvars2(5) = (/ &
Expand Down
2 changes: 1 addition & 1 deletion test/ddthost_test/test_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"horizontal_loop_begin", "horizontal_loop_end",
"surface_air_pressure", "horizontal_dimension"]
_OUTPUT_VARS_DDT = ["ccpp_error_code", "ccpp_error_message", "model_times",
"number_of_model_times"]
"number_of_model_times", "surface_air_pressure"]
_REQUIRED_VARS_DDT = _INPUT_VARS_DDT + _OUTPUT_VARS_DDT
_PROT_VARS_TEMP = ["horizontal_loop_begin", "horizontal_loop_end",
"horizontal_dimension", "vertical_layer_dimension",
Expand Down

0 comments on commit 0b66295

Please sign in to comment.