mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 08:42:24 +00:00
Add passing build extraction script.
This commit is contained in:
parent
99bd3b3105
commit
92365d501c
3 changed files with 17 additions and 0 deletions
0
src/tools/testcoordinator/buildall.pl
Normal file → Executable file
0
src/tools/testcoordinator/buildall.pl
Normal file → Executable file
17
src/tools/testcoordinator/passes.pl
Executable file
17
src/tools/testcoordinator/passes.pl
Executable 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
0
src/tools/testcoordinator/postpush.pl
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue