- Timestamp:
- 10/31/08 08:02:07 (2 months ago)
- Files:
-
- 1 modified
-
src/perl6/ETOOMUCHTIME (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/perl6/ETOOMUCHTIME
r22787 r22837 42 42 my $myfile = $file; 43 43 $myfile =~ s/^\.\.\/\.\.\/t\/spec/html/; 44 my ($ simple_html,$full_html) = ("$myfile.simple.html", "$myfile.html");44 my ($redspans_html,$full_html) = ("$myfile.simple.html", "$myfile.html"); 45 45 my ($html_filename,$html_path,$html_suffix) = fileparse($full_html); 46 46 mkpath $html_path; … … 51 51 $file 52 52 -> $full_html 53 -> $ simple_html53 -> $redspans_html 54 54 OUT 55 55 my $t0 = new Benchmark; 56 56 my $cmd = "./$HILITE --clean-html " . 57 "-- simple-html=$simple_html " .57 "--redspans-html=$redspans_html " . 58 58 "--full-html=$full_html $file"; 59 59 my $log = `$cmd 2>&1`; … … 84 84 </pre></body></html> 85 85 ERROR 86 open SIMPLE_HTML, ">$simple_html"87 or die "Could not open $ simple_html for writing: $OS_ERROR\n";88 print SIMPLE_HTML $error_html;89 close SIMPLE_HTML;86 open REDSPANS_HTML, ">$redspans_html" 87 or die "Could not open $redspans_html for writing: $OS_ERROR\n"; 88 print REDSPANS_HTML $error_html; 89 close REDSPANS_HTML; 90 90 open FULL_HTML, ">$full_html" 91 91 or die "Could not open $full_html for writing: $OS_ERROR\n";
