Skip to content

Commit

Permalink
Fix 1x1_cidadinhoBR tests by specifying 2000_control for it and 1850_…
Browse files Browse the repository at this point in the history
…control for smallville
  • Loading branch information
ekluzek committed Jul 29, 2024
1 parent 0c527dd commit 17c748b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bld/unit_testers/build-namelist_test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,11 @@ sub cat_and_create_namelistinfile {
# Check for crop resolutions
my @crop1850_res = ( "1x1_smallvilleIA", "1x1_cidadinhoBR" );
foreach my $res ( @crop1850_res ) {
$options = "-bgc bgc -crop -res $res -use_case 1850_control -envxml_dir .";
my $use_case = "1850_control";
if ( $res =~ /1x1_cidadinhoBR/ ) {
$use_case = "2000_control";
}
$options = "-bgc bgc -crop -res $res -use_case $use_case -envxml_dir .";
&make_env_run();
eval{ system( "$bldnml $options > $tempfile 2>&1 " ); };
is( $@, '', "$options" );
Expand Down

0 comments on commit 17c748b

Please sign in to comment.