1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Explicitly set the sandbox directory (it defaults to ~/tinderbox which is

wrong when running a release tinderbox as root)

Use the setup's COMMENT field in the subject of the failure report, instead
of just "$branch tinderbox".

Tweak the test setups.
This commit is contained in:
Dag-Erling Smørgrav 2003-05-15 20:33:33 +00:00
parent 1a1ab60d64
commit ccd60d5c3d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115039

View File

@ -37,6 +37,7 @@ use Sys::Hostname;
my %CONFIGS = (
# Global settings
'global' => {
'SANDBOX' => '/home/des/tinderbox',
'LOGDIR' => '/home/des/public_html',
'OPTIONS' => [ '--verbose' ],
'EMAIL' => 'des+%%arch%%-%%branch%%@freebsd.org',
@ -92,13 +93,11 @@ my %CONFIGS = (
'i386' => [ 'i386' ],
},
'ENV' => {
'NOCRYPT' => 'YES',
'NOLIBC_R' => 'YES',
'NOPERL' => 'YES',
'NOPROFILE' => 'YES',
'NOSECURE' => 'YES',
'NO_BIND' => 'YES',
'NO_FORTRAN' => 'YES',
'NO_KERBEROS' => 'YES',
'NO_SENDMAIL' => 'YES',
},
},
@ -113,9 +112,7 @@ my %CONFIGS = (
'ENV' => {
'NOCRYPT' => 'YES',
'NOLIBC_R' => 'YES',
'NOPERL' => 'YES',
'NOPROFILE' => 'YES',
'NOSECURE' => 'YES',
'NO_BIND' => 'YES',
'NO_FORTRAN' => 'YES',
'NO_SENDMAIL' => 'YES',
@ -177,6 +174,7 @@ sub tinderbox($$$) {
# Fork and start the tinderbox
my @args = @{$CONFIG{'OPTIONS'}};
push(@args, "--sandbox=$CONFIG{'SANDBOX'}");
push(@args, "--branch=$branch");
push(@args, "--arch=$arch");
push(@args, "--machine=$machine");
@ -255,7 +253,7 @@ sub tinderbox($$$) {
$recipient =~ s/\%\%arch\%\%/$arch/gi;
$recipient =~ s/\%\%machine\%\%/$machine/gi;
report(lc($recipient),
"$branch tinderbox failure on $arch/$machine",
"[$CONFIG{'COMMENT'}] failure on $arch/$machine",
$summary);
}