aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-09-02 17:19:14 -0700
committerMike McQuaid2012-09-03 00:31:34 -0700
commit50fa018057cefeecdd915c7b821cb1c7fd6e5e1e (patch)
treec9874c668423113c63d83946cd56436496b65f42 /Library
parent88b1da7405c0a9ad9b94026c5bc88ec4016d0557 (diff)
downloadbrew-50fa018057cefeecdd915c7b821cb1c7fd6e5e1e.tar.bz2
brew-test-bot: Only run brew-test if test defined.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmds/brew-test-bot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/cmds/brew-test-bot.rb b/Library/Contributions/cmds/brew-test-bot.rb
index 96c51eabf..887ad82c5 100755
--- a/Library/Contributions/cmds/brew-test-bot.rb
+++ b/Library/Contributions/cmds/brew-test-bot.rb
@@ -198,7 +198,7 @@ class Test
test "brew audit #{formula}"
test "brew install --verbose --build-bottle #{formula}"
return unless steps.last.status == :passed
- test "brew test #{formula}"
+ test "brew test #{formula}" if defined? Formula.factory(formula).test
test "brew bottle #{formula}"
test "brew uninstall #{formula}"
end