From 50fa018057cefeecdd915c7b821cb1c7fd6e5e1e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 2 Sep 2012 17:19:14 -0700 Subject: [PATCH] brew-test-bot: Only run brew-test if test defined. --- Library/Contributions/cmds/brew-test-bot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Contributions/cmds/brew-test-bot.rb b/Library/Contributions/cmds/brew-test-bot.rb index 96c51eabff..887ad82c53 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