Ignore:
Timestamp:
2013-08-08T16:20:31+12:00 (11 years ago)
Author:
ak19
Message:
  1. task.pl summarise cmd now prints out whether the diffcol result is success or failure (previously it would only do this on the upload cmd) 2. Another gdb field had double windows backslashes that got turned into double forward slashes for the MARC-Exploded collection, which need to be single forward slashes when normalising for comparing with the linux version of the gdb file contents.
File:
1 edited

Legend:

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

    r27994 r28005  
    285285        }
    286286
    287         # need to set imagemagick and ghostscript binaries to executable
     287        # the imagemagick and ghostscript binaries have been set to executable on svn trac now
    288288#       system("chmod -R u+x $ENV{'DATA_DIR'}/$gsdl/bin/darwin/imagemagick/bin/*");
    289289#       system("chmod -R u+x $ENV{'DATA_DIR'}/$gsdl/bin/darwin/ghostscript/bin/*");
     
    474474    next if ($collection eq "." || $collection eq "..");
    475475    next if ($collection eq "modelcol");
    476 #   next if ($collection ne "Enhanced-PDF"); ## TEMPORARY, FOR TESTING THIS SCRIPT
     476#   next if ($collection ne "Section-Tagging"); ## TEMPORARY, FOR TESTING THIS SCRIPT
     477#   next if ($collection !~ m/MARC/); ## TEMPORARY, FOR TESTING THIS SCRIPT
    477478
    478479    #escape the filename (in case of space)
     
    646647    $status = system($cmd);
    647648    print STDERR "done\n";
     649   
     650    # Print whether the tests passed or failed                                                     
     651    print STDERR "*******************************************\n";
     652    print STDERR "Checking if successful... \n";
     653    $cmd = "java org.apache.xalan.xslt.Process -IN $xmlout -XSL $ENV{'TASK_HOME'}/xsl/passed-or-not.xsl";   
     654    $status = `$cmd`; #$status = system($cmd);
     655    print STDERR "result: $status\n";
     656    print STDERR "*******************************************\n";
    648657}
    649658
Note: See TracChangeset for help on using the changeset viewer.