git://git.exim.org
/
buildfarm-client.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ec557f0
)
Prepend contents of failure log file in test suite output
author
Todd Lyons
<tlyons@exim.org>
Thu, 24 Oct 2013 17:52:32 +0000
(10:52 -0700)
committer
Todd Lyons
<tlyons@exim.org>
Thu, 24 Oct 2013 17:52:32 +0000
(10:52 -0700)
run_build.pl
patch
|
blob
|
history
diff --git
a/run_build.pl
b/run_build.pl
index fae95ba1cc965bfcae206bcfefae83f890e494dd..d95f64527163ce637cbcd30393c9135c8fe96e09 100755
(executable)
--- a/
run_build.pl
+++ b/
run_build.pl
@@
-999,6
+999,15
@@
sub make_test
./runtest \$WORKDIR/$exim/src/build-*/exim -CONTINUE $tests_range )2>&1`;
$status = $? >>8;
push @makeout, @tmp;
./runtest \$WORKDIR/$exim/src/build-*/exim -CONTINUE $tests_range )2>&1`;
$status = $? >>8;
push @makeout, @tmp;
+ # Prepend the failed summary log outputs for ease of reading
+ my $fail_summary = "$exim/test/failed-summary.log";
+ if (-f $fail_summary)
+ {
+ @tmp = `cat $fail_summary`;
+ push @tmp, "\n";
+ unshift @makeout, @tmp;
+ unshift @makeout, "Summary of failed tests:\n";
+ }
}
writelog('test',\@makeout);
print "======== make test logs ===========\n",@makeout
}
writelog('test',\@makeout);
print "======== make test logs ===========\n",@makeout