Changeset 27579

Show
Ignore:
Timestamp:
07.06.2013 18:49:10 (6 years ago)
Author:
ak19
Message:

A few more date fields need to be ignored when diffing.

Location:
other-projects/nightly-tasks/diffcol/trunk/diffcol
Files:
2 modified

Legend:

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

    r27539 r27579  
    562562    { 
    563563        my $strResult = diff $strModel, $strTest, { STYLE => "OldStyle" }; 
    564         $strResult = &diffutil::GenerateOutput($strResult,"^<Metadata name=\"lastmodified\">.*</Metadata>\$"); 
     564        $strResult = &diffutil::GenerateOutput($strResult,"^<Metadata name=\"(lastmodified|lastmodifieddate|oailastmodified|oailastmodifieddate)\">.*</Metadata>\$"); 
    565565        #$strResult = GeneralOutput($strResult); 
    566566        if ( $strOutputFormat eq "xml" ) { 
  • other-projects/nightly-tasks/diffcol/trunk/diffcol/gdbdiff.pm

    r21711 r27579  
    4545    my $diff_gdb = diff \$model_text, \$test_text, { STYLE => $report_type }; 
    4646     
    47     $diff_gdb = &diffutil::GenerateOutput($diff_gdb,"^<lastmodified>.*"); 
     47    $diff_gdb = &diffutil::GenerateOutput($diff_gdb,"^<(lastmodified|lastmodifieddate|oailastmodified|oailastmodifieddate)>.*"); 
    4848 
    4949    if($diff_gdb eq "")