@@ -31,6 +31,7 @@ target_link_libraries(drydep_driver skywalker;validation;haero)
3131 COPYONLY
3232 )
3333
34+ set (TestLabel "drydep" )
3435# Run the driver in several configurations to produce datasets.
3536function (add_drydep_test input_name)
3637 string (REPLACE "_input_" "_output_" output_name ${input_name} )
@@ -39,21 +40,24 @@ function(add_drydep_test input_name)
3940 configure_file (${DRYDEP_VALIDATION_DIR} /${output_name} .py ${CMAKE_CURRENT_BINARY_DIR} /${output_name} .py COPYONLY )
4041 # add a test to run the skywalker driver
4142 add_test (run_${test_name} drydep_driver ${DRYDEP_VALIDATION_DIR} /${input_name} .yaml)
43+ set_tests_properties (run_${test_name} PROPERTIES LABELS "${TestLabel} " )
4244 # add a test to validate mam4xx's results against the baseline.
4345 add_test (validate_${test_name} python3 compare_drydep.py mam4xx_${input_name} .py ${output_name} .py)
46+ set_property (TEST validate_${test_name} PROPERTY SKIP_REGULAR_EXPRESSION "regex_fail_rel_tol" )
4447 set_tests_properties (validate_${test_name} PROPERTIES DEPENDS run_${test_name} )
48+ set_tests_properties (validate_${test_name} PROPERTIES LABELS ${TestLabel} )
4549endfunction ()
4650
4751foreach (input
48- gravit_settling_velocity
49- air_dynamic_viscosity
50- air_kinematic_viscosity
51- radius_for_moment
52- schmidt_number
53- slip_correction_factor
54- )
52+ gravit_settling_velocity
53+ air_dynamic_viscosity
54+ air_kinematic_viscosity
55+ radius_for_moment
56+ schmidt_number
57+ slip_correction_factor
58+ )
5559 add_drydep_test(${input} )
56- endforeach ()
60+ endforeach ()
5761
5862
5963foreach (test_name
@@ -62,8 +66,8 @@ foreach (test_name
6266 depvel_part
6367 )
6468 foreach (ts
65- #1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392
66- 1393 #1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404
69+ #1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392
70+ 1393 #1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404
6771 #1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416
6872 )
6973 foreach (jvlc 3 4)
@@ -72,36 +76,34 @@ foreach (test_name
7276 set (imode No_mode)
7377 set (input modal_aero_${test_name} _input_ts_${ts} _jvlc_${jvlc} _imnt_${imnt} _imode_${imode} )
7478 add_drydep_test(${input} )
75- endforeach ()
79+ endforeach ()
7680
7781 foreach (jvlc 1 2)
7882 math (EXPR imnt "3 * ( ${jvlc} - 1)" )
7983 foreach (imode 1 2 3 4)
8084 set (input modal_aero_${test_name} _input_ts_${ts} _jvlc_${jvlc} _imnt_${imnt} _imode_${imode} )
8185 add_drydep_test(${input} )
82- endforeach ()
83- endforeach ()
84- endforeach ()
85- endforeach ()
86+ endforeach ()
87+ endforeach ()
88+ endforeach ()
89+ endforeach ()
8690
8791foreach (ts 1400 1401 1402 1403)# 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416)
8892 set (input calcram_input_ts_${ts} )
8993 add_drydep_test(${input} )
90- endforeach ()
94+ endforeach ()
9195
9296foreach (ts
93- 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392
94- # 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404
97+ 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392
98+ # 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404
9599# 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416
96100 )
97101 set (test_name drydep)
98102 set (input aero_model_${test_name} _input_ts_${ts} )
99103 add_drydep_test(${input} )
100- endforeach ()
104+ endforeach ()
101105
102106set (test_name drydep)
103107set (ts compute_tendencies)
104108set (input aero_model_${test_name} _input_${ts} )
105109add_drydep_test(${input} )
106-
107-
0 commit comments