version 1.10, 2019/03/10 09:23:33 |
version 1.12, 2019/09/03 18:19:37 |
Line 86 sub syshtml ($@) { |
|
Line 86 sub syshtml ($@) { |
|
if (!$state && s/.*<math class="eqn">//) { |
if (!$state && s/.*<math class="eqn">//) { |
$state = 'math'; |
$state = 'math'; |
next unless length; |
next unless length; |
} elsif (/^BEGINTEST/) { |
} elsif (/BEGINTEST/) { |
$state = 'other'; |
$state = 'other'; |
|
next; |
|
} elsif (/ENDTEST/) { |
|
$state = 0; |
|
next; |
} |
} |
if ($state eq 'math') { |
if ($state eq 'math') { |
s/^ *//; |
s/^ *//; |
Line 98 sub syshtml ($@) { |
|
Line 102 sub syshtml ($@) { |
|
} |
} |
} |
} |
print $outfd "$_\n" if $state; |
print $outfd "$_\n" if $state; |
$state = 0 if /^ENDTEST/; |
|
} |
} |
close $outfd; |
close $outfd; |
close $infd; |
close $infd; |
Line 424 if ($count_total == 1) { |
|
Line 427 if ($count_total == 1) { |
|
print "\n"; |
print "\n"; |
} else { |
} else { |
print "No tests were run.\n"; |
print "No tests were run.\n"; |
} |
} |
if ($targets{clean}) { |
if ($targets{clean}) { |
if ($count_rm) { |
if ($count_rm) { |
print "Deleted $count_rm test output files.\n"; |
print "Deleted $count_rm test output files.\n"; |