Skip to content

Commit

Permalink
get log files from bin tap tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adunstan committed Jul 28, 2015
1 parent f1fb42b commit e684baa
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions run_build.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1550,8 +1550,19 @@ sub make_bin_installcheck

my $status = $? >>8;

# my @bases = glob("$pgsql/src/bin/*/tmp_check");
# XXX clean these up
my @logs = glob("$pgsql/src/bin/*/tmp_check/log/*");

foreach my $logfile (@logs)
{
push(@makeout,"\n\n================== $logfile ===================\n");
my $handle;
open($handle,$logfile);
while(<$handle>)
{
push(@makeout,$_);
}
close($handle);
}

writelog('bin-check',\@makeout);
print "======== make bin-install-check log ===========\n",@makeout
Expand Down

0 comments on commit e684baa

Please sign in to comment.