Ignore:
Timestamp:
2023-09-05T20:42:35+12:00 (9 months ago)
Author:
anupama
Message:
  1. Diffcol's task.pl's run_test and summarise both take the min-min-gs3 option as well. Diffcol produces a report with num 2 in filename for GS2 and num 3 in filename for GS3, so summarise command needs to know which one needs to be converted from XML to HTML. 2. Better regex and fixing spelling error in diffcol.pl.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/diffcol/trunk/diffcol/diffcol.pl

    r37446 r38024  
    358358        print "<database succeeded=\"no\" location=\"$strModelGdb\"><message>";
    359359        } else {
    360         AlignPrint("Database Comparsion Result","Failed",$intLevel);
     360        AlignPrint("Database Comparison Result","Failed",$intLevel);
    361361        }
    362362        VobPrint ("$strGdbError\n",$intLevel);
     
    367367       
    368368        $strGdbError = "$strGdbError";
    369         $strGdbError = "Difference Found at Database Comparsion\n".$strGdbError."\n";
     369        $strGdbError = "Difference Found at Database Comparison\n".$strGdbError."\n";
    370370        #push(@Errors,$strGdbError);
    371371    }
     
    375375        print "<database succeeded=\"yes\" location=\"$strModelGdb\"/>";
    376376        } else {
    377         AlignPrint("Database Comparsion Result","Succeed",$intLevel);
     377        AlignPrint("Database Comparison Result","Succeed",$intLevel);
    378378        }
    379379    }
     
    607607        # Files to be skipped because they get generated on one OS but not the other
    608608        # On windows, files of the form col.invf.state.\d\d\d\d get generated (e.g. Small-HTML.invf.state.1228) that aren't there on linux
    609         my $skipfiles_re = qr/(\.invf\.state\.\d+$)|~$|earliestDatestamp|archiveinf-timestamp.out|fail\.log|oai-inf-tmp\.(gdb|jdb|lg)$/; # Create a regex of all files to be skipped, see http://perldoc.perl.org/perlop.html
     609        my $skipfiles_re = qr/(\.invf\.state\.\d+$)|~$|earliestDatestamp|archiveinf-timestamp\.out|fail\.log|oai-inf-tmp\.(gdb|jdb|lg)$/; # Create a regex of all files to be skipped, see http://perldoc.perl.org/perlop.html
    610610        @aryInModel = grep { $_ !~ m/$skipfiles_re/ } @aryInModel; # http://stackoverflow.com/questions/174292/what-is-the-best-way-to-delete-a-value-from-an-array-in-perl
    611611        @aryInTest = grep { $_ !~ m/$skipfiles_re/ } @aryInTest;
     
    651651        if($intLevel == $gv_intVerbosity)
    652652        {
    653             if(scalar(@Errors) == 0){ AlignPrint("Contents Comparsion","Succeed",$intLevel);}
    654             else {  AlignPrint("Contents Comparsion","Failed",$intLevel);}
     653            if(scalar(@Errors) == 0){ AlignPrint("Contents Comparison","Succeed",$intLevel);}
     654            else {  AlignPrint("Contents Comparison","Failed",$intLevel);}
    655655        }
    656656    }
     
    875875            print "<folder-comparison location=\"$strModelFolder\" succeeded=\"yes\"/>\n";
    876876        } else {
    877             AlignPrint("Folder Comparsion","Succeed",$intLevel);
     877            AlignPrint("Folder Comparison","Succeed",$intLevel);
    878878        }
    879879        return @TwoPointers;
     
    884884            print "<folder-comparison location=\"$strModelFolder\" succeeded=\"no\"><message>\n";
    885885        } else {
    886             AlignPrint("Folder Comparsion","Failed",$intLevel);
     886            AlignPrint("Folder Comparison","Failed",$intLevel);
    887887        }
    888888
Note: See TracChangeset for help on using the changeset viewer.