aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-14 21:46:26 -0500
committerJack Nagel2014-06-14 21:46:26 -0500
commitd487c3d97827ac9ff976cde5a5d587236a8ffb4c (patch)
tree2a9270a6ae1b528faac7aef650661a6f58dc5ad5 /Library
parentc8fd1214bde185c392017994154ce52465a8b661 (diff)
downloadbrew-d487c3d97827ac9ff976cde5a5d587236a8ffb4c.tar.bz2
brew-test-bot: remove dead code
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 8ffa7998c..59e54a993 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -391,19 +391,12 @@ class Test
end
def check_results
- message = "All tests passed and raring to brew."
-
status = :passed
steps.each do |step|
case step.status
when :passed then next
when :running then raise
- when :failed then
- if status == :passed
- status = :failed
- message = ""
- end
- message += "#{step.command}: #{step.status.to_s.upcase}\n"
+ when :failed then status = :failed
end
end
status == :passed