Add passing build extraction script.

This commit is contained in:
David C W Brown 2016-06-27 21:01:56 +01:00
parent 99bd3b3105
commit 92365d501c
3 changed files with 17 additions and 0 deletions

0
src/tools/testcoordinator/buildall.pl Normal file → Executable file
View file

View file

@ -0,0 +1,17 @@
#!perl -w
use strict;
use warnings;
use POSIX "strftime";
# Now parse the combined logs extracting build pass messages
# lub32 20.47.55 --- Branch v2docs ubuntu gcc ILP32 confidence tests passed ---
open(my $buildlog, "</tmp/buildall.log") // die "Could not read buildall.log.";
open(my $passes, ">log/buildpasses.log") // die "Could not create buildpasses.log.";
while (<$buildlog>) {
if (/ --- Branch .* confidence tests passed ---/) {
print $passes $_;
}
}
close($buildlog);
close($passes);

0
src/tools/testcoordinator/postpush.pl Normal file → Executable file
View file