- Timestamp:
- 2023-09-05T20:42:35+12:00 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/diffcol/diffcol.pl
r37446 r38024 358 358 print "<database succeeded=\"no\" location=\"$strModelGdb\"><message>"; 359 359 } else { 360 AlignPrint("Database Compar sion Result","Failed",$intLevel);360 AlignPrint("Database Comparison Result","Failed",$intLevel); 361 361 } 362 362 VobPrint ("$strGdbError\n",$intLevel); … … 367 367 368 368 $strGdbError = "$strGdbError"; 369 $strGdbError = "Difference Found at Database Compar sion\n".$strGdbError."\n";369 $strGdbError = "Difference Found at Database Comparison\n".$strGdbError."\n"; 370 370 #push(@Errors,$strGdbError); 371 371 } … … 375 375 print "<database succeeded=\"yes\" location=\"$strModelGdb\"/>"; 376 376 } else { 377 AlignPrint("Database Compar sion Result","Succeed",$intLevel);377 AlignPrint("Database Comparison Result","Succeed",$intLevel); 378 378 } 379 379 } … … 607 607 # Files to be skipped because they get generated on one OS but not the other 608 608 # 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.html609 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 610 610 @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 611 611 @aryInTest = grep { $_ !~ m/$skipfiles_re/ } @aryInTest; … … 651 651 if($intLevel == $gv_intVerbosity) 652 652 { 653 if(scalar(@Errors) == 0){ AlignPrint("Contents Compar sion","Succeed",$intLevel);}654 else { AlignPrint("Contents Compar sion","Failed",$intLevel);}653 if(scalar(@Errors) == 0){ AlignPrint("Contents Comparison","Succeed",$intLevel);} 654 else { AlignPrint("Contents Comparison","Failed",$intLevel);} 655 655 } 656 656 } … … 875 875 print "<folder-comparison location=\"$strModelFolder\" succeeded=\"yes\"/>\n"; 876 876 } else { 877 AlignPrint("Folder Compar sion","Succeed",$intLevel);877 AlignPrint("Folder Comparison","Succeed",$intLevel); 878 878 } 879 879 return @TwoPointers; … … 884 884 print "<folder-comparison location=\"$strModelFolder\" succeeded=\"no\"><message>\n"; 885 885 } else { 886 AlignPrint("Folder Compar sion","Failed",$intLevel);886 AlignPrint("Folder Comparison","Failed",$intLevel); 887 887 } 888 888
Note:
See TracChangeset
for help on using the changeset viewer.