Skip to content

Commit

Permalink
Get working, needed to remove the real_parameter things added in new …
Browse files Browse the repository at this point in the history
…tests for ctsm5.2, that were removed in the update
  • Loading branch information
ekluzek committed Mar 29, 2024
1 parent f0bc1a1 commit bd4977b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bld/unit_testers/build-namelist_test.pl
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ sub cat_and_create_namelistinfile {
#
# Figure out number of tests that will run
#
my $ntests = 2137;
my $ntests = 1990;

if ( defined($opts{'compare'}) ) {
$ntests += 1371;
$ntests += 1201;
}
plan( tests=>$ntests );

Expand Down Expand Up @@ -1351,7 +1351,6 @@ sub cat_and_create_namelistinfile {
$cfiles->shownmldiff( "default", "standard" );
if ( defined($opts{'compare'}) ) {
$cfiles->doNOTdodiffonfile( "$tempfile", "$options", $mode );
$cfiles->dodiffonfile( "$real_par_file", "$options", $mode );
$cfiles->comparefiles( "$options", $mode, $opts{'compare'} );
}

Expand Down Expand Up @@ -1436,7 +1435,6 @@ sub cat_and_create_namelistinfile {
$cfiles->shownmldiff( "default", "standard" );
if ( defined($opts{'compare'}) ) {
$cfiles->doNOTdodiffonfile( "$tempfile", "$options", $mode );
$cfiles->dodiffonfile( "$real_par_file", "$options", $mode );
$cfiles->comparefiles( "$options", $mode, $opts{'compare'} );
}
if ( defined($opts{'generate'}) ) {
Expand Down Expand Up @@ -1573,7 +1571,6 @@ sub cat_and_create_namelistinfile {
$cfiles->shownmldiff( "default", "standard" );
if ( defined($opts{'compare'}) ) {
$cfiles->doNOTdodiffonfile( "$tempfile", "$options", $mode );
$cfiles->dodiffonfile( "$real_par_file", "$options", $mode );
$cfiles->comparefiles( "$options", $mode, $opts{'compare'} );
}
if ( defined($opts{'generate'}) ) {
Expand Down

0 comments on commit bd4977b

Please sign in to comment.