summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-09-19 09:15:10 +0000
committerdes <des@FreeBSD.org>2003-09-19 09:15:10 +0000
commit85b34c534ede50ca84af77a17a70182a422967cb (patch)
tree85b8d5c307440535431e93911ee4fbcde26c6f3e /tools
parente35bd916c0d1158870b04f16f1fce6be159716af (diff)
downloadFreeBSD-src-85b34c534ede50ca84af77a17a70182a422967cb.zip
FreeBSD-src-85b34c534ede50ca84af77a17a70182a422967cb.tar.gz
Add support for stop files, the existence of which signals tbmaster to
skip particular platforms or configs, or simply stop running.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/tinderbox/tbmaster.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/tools/tinderbox/tbmaster.pl b/tools/tools/tinderbox/tbmaster.pl
index 1f78667..01d6da4 100644
--- a/tools/tools/tinderbox/tbmaster.pl
+++ b/tools/tools/tinderbox/tbmaster.pl
@@ -358,11 +358,19 @@ MAIN:{
die("Where is the tinderbox script?\n");
}
+ my $stopfile = expand('SANDBOX') . "/stop";
foreach my $branch (@{$CONFIG{'BRANCHES'}}) {
foreach my $platform (@{$CONFIG{'PLATFORMS'}}) {
+ if (-e $stopfile || -e "$stopfile.$config") {
+ die("stop file found, aborting\n");
+ }
my ($arch, $machine) = split('/', $platform, 2);
$machine = $arch
unless defined($machine);
+ if (-e "$stopfile.$arch" || -e "$stopfile.$arch.$machine") {
+ warn("stop file for $arch/$machine found, skipping\n");
+ next;
+ }
tinderbox($branch, $arch, $machine);
}
}
OpenPOWER on IntegriCloud