From 5de17d9c46ca1d064b8bc8684a60064528d93eb2 Mon Sep 17 00:00:00 2001 From: Todd Lyons Date: Thu, 24 Oct 2013 10:52:32 -0700 Subject: [PATCH] Prepend contents of failure log file in test suite output --- run_build.pl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/run_build.pl b/run_build.pl index fae95ba..d95f645 100755 --- 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; + # 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 -- 2.30.2