X-Git-Url: https://git.exim.org/buildfarm-client.git/blobdiff_plain/550e2278baf9870d8d73666c49f3fe76fd4a47b4..66c62beda0bfbb2fd194cbd3590e9fa51eb7220e:/run_build diff --git a/run_build b/run_build index ef80039..10b32a6 100755 --- a/run_build +++ b/run_build @@ -36,6 +36,7 @@ our $VERSION = 'REL_0.1'; use strict; use warnings; +use 5.010; use Config; use Fcntl qw(:flock :seek); use File::Path; @@ -71,6 +72,7 @@ BEGIN : 'xxxxxx' ); } + push @INC, getcwd(); } use EximBuild::SCM; @@ -83,14 +85,13 @@ if ($0 =~ /(.*)\.pl$/) { exec $1, @ARGV; } -die "$0: please use an umask of 022\n" - if umask > 022; +if (umask != 022) { + umask 022; + say "$0: forced umask to 022" if -t; +} my %module_hooks; my $orig_dir = getcwd(); -push @INC, $orig_dir; - -umask 022; # make sure we exit nicely on any normal interrupt # so the cleanup handler gets called. @@ -1061,6 +1062,10 @@ sub make_test if ($verbose > 1); send_result('Test',$status,\@makeout) if $status; + + @makeout = `cat $exim/test/run-summary.log`; + send_result('Test-results',$status,\@makeout) if $status; + $steps_completed .= " Test"; }