From 2e5a38c8b4987a4083dd12d22f043f635144d276 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 2 Sep 2012 17:19:14 -0700 Subject: 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(-) (limited to 'Library') 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 -- cgit v1.2.3