Ignore:
Timestamp:
2013-06-07T18:49:10+12:00 (11 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 edited

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 "")
Note: See TracChangeset for help on using the changeset viewer.