diff --git a/webtools/mozbot/Tinderbox.pm b/webtools/mozbot/Tinderbox.pm index 1ac1b2355f46..3c15e4692ef0 100644 --- a/webtools/mozbot/Tinderbox.pm +++ b/webtools/mozbot/Tinderbox.pm @@ -83,8 +83,12 @@ sub status } elsif ($type eq "Build") { - $state = "Horked" unless ($state ne "Success"); - $info{$tree}{$build} = $state; + if ($state =~ /success/i) { + $state = "Success"; + } else { + $state = "Horked"; + } + $info{$tree}{$build} = $state; } } diff --git a/webtools/mozbot/mozbot.pl b/webtools/mozbot/mozbot.pl index 20ee10a543ad..a81c555b6ede 100755 --- a/webtools/mozbot/mozbot.pl +++ b/webtools/mozbot/mozbot.pl @@ -472,7 +472,7 @@ sub bot_tinderbox { foreach my $e (sort keys %{$$trees{$t}}) { - next if ($terse && $$trees{$t}{$e} ne "horked"); + next if ($terse && $$trees{$t}{$e} ne "Horked"); $buf .= "[$e: $$trees{$t}{$e}] "; $bustage++; }