Changeset 28621 for other-projects/nightly-tasks/diffcol
- Timestamp:
- 2013-11-13T20:14:02+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/task.pl
r28620 r28621 40 40 $osversion=`uname -r`; # e.g. 12.x.x 41 41 #$osversion =~ s@\..*$@@; # e.g.12 42 $osversion = ($osversion =~ m@^1[1-9](\.)?@i) ? "Lion-" : " ";42 $osversion = ($osversion =~ m@^1[1-9](\.)?@i) ? "Lion-" : "Leopard-"; #""; 43 43 } 44 44 … … 403 403 # $Config{'archname64'} doesn't work on the Ubuntu and the Sys::Info package seems to not be supported 404 404 # well on ActivePerl. 405 # But since we know we're on a Linux/Darwin machine at this point, we can just run `uname -m` and other linux cmds405 # But since we know we're on a Linux/Darwin machine at this point, we can just run `uname -m` and other linux cmds 406 406 407 407 # osversion will be "Lion" or "" … … 889 889 } else { 890 890 $os_entry = "diffcol-".$^O."-$os_entry"; 891 } 892 893 # if the test failed, prefix "failed" to the report so that it shows up with an error icon on the caveat page 894 my $cmd = "java org.apache.xalan.xslt.Process -IN $xmlout -XSL $ENV{'TASK_HOME'}/xsl/passed-or-not.xsl"; 895 my $result = `$cmd`; 896 if($result ne "yes") { 897 $os_entry =~ s/diffcol-/diffcol-FAIL-/; 891 898 } 892 899
Note:
See TracChangeset
for help on using the changeset viewer.