>From b8efcae21013251c16e5626ba36bf35ae51d13fc Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues
Date: Mon, 30 Aug 2010 21:37:50 +0200 Subject: [PATCH 1/2] Turn mode into first-class, host-dependent criterion. * autobuild: In overall summary, also key off of mode for each build type. In all other summaries, also print the mode. --- autobuild | 134 +++++++++++++++++++++++++++++++++++------------------------- 1 files changed, 78 insertions(+), 56 deletions(-) diff --git a/autobuild b/autobuild index 7e71b4e..fc4f8f1 100755 --- a/autobuild +++ b/autobuild @@ -117,6 +117,8 @@ my (%Projects); my (%Revisions); my (%Hosttypes); my (%Hostnames); +my (%Hostmodes); +my (%Modes); foreach $arg (@ARGV) { my (@files); @@ -266,6 +268,8 @@ foreach $arg (@ARGV) { $Projects{$project} = 0; ${$Revisions{$project}}{$revision} = 0; ${$Hosttypes{$project}}{$hosttype} = 0; + ${$Hostmodes{$project}{$hosttype}}{$mode} = 0; + ${$Modes{$project}}{$mode} = 0; ${$Hostnames{$project}}{$hostname} = 0; } } @@ -274,7 +278,7 @@ exit 0 if $DryRun; delete $Projects{"unknown"} if $SkipUnknown; -my ($project, $revision, $hosttype, $hostname); +my ($project, $revision, $hosttype, $mode, $hostmode, $hostname); if (!$InlineHTML) { print "\n"; @@ -294,6 +298,7 @@ if (!$InlineHTML) { print "