+pro #17611 add perl script to find javadoc errors

This commit is contained in:
Konrad Malawski 2015-06-22 17:26:49 +02:00
parent 7e86dac542
commit c34914a4fe
3 changed files with 21 additions and 5 deletions

15
scripts/find-javadoc-error.pl Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/perl
use strict;
use warnings;
my $active = 0;
my $print = 0;
while (<>) {
$active = 1, next if /Generating.*\.html/;
$active = 0, next if /Genjavadoc Java API documentation successful\./;
$print = 1 if /^\[error].*error:/;
$print = 0 if /warning:/;
print if $active && $print;
}