bug 355465 - Make tinderbox more flexible with where it reports l10n packaging status. (Missing piece now included) r=preed

This commit is contained in:
mattwillis%gmail.com 2007-02-03 07:04:35 +00:00
Родитель 181645f9ae
Коммит 6671060371
1 изменённых файлов: 12 добавлений и 2 удалений

Просмотреть файл

@ -74,8 +74,13 @@ sub mail_locale_started_message {
my $platform = $Settings::OS =~ /^WIN/ ? 'windows' : 'unix';
my $tree = $Settings::BuildTree;
if (defined($Settings::LocaleTree)) {
$tree = $Settings::LocaleTree;
}
print_locale_log "\n";
print_locale_log "tinderbox: tree: $Settings::BuildTree-$locale\n";
print_locale_log "tinderbox: tree: $tree-$locale\n";
print_locale_log "tinderbox: builddate: $start_time\n";
print_locale_log "tinderbox: status: building\n";
print_locale_log "tinderbox: build: $Settings::BuildName $locale\n";
@ -104,10 +109,15 @@ sub mail_locale_finished_message {
my $platform = $Settings::OS =~ /^WIN/ ? 'windows' : 'unix';
my $tree = $Settings::BuildTree;
if (defined($Settings::LocaleTree)) {
$tree = $Settings::LocaleTree;
}
# Put the status at the top of the log, so the server will not
# have to search through the entire log to find it.
print OUTLOG "\n";
print OUTLOG "tinderbox: tree: $Settings::BuildTree-$locale\n";
print OUTLOG "tinderbox: tree: $tree-$locale\n";
print OUTLOG "tinderbox: builddate: $start_time\n";
print OUTLOG "tinderbox: status: $build_status\n";
print OUTLOG "tinderbox: build: $Settings::BuildName $locale\n";