From bda9ffa5d7fd08011da9d82e24252478c8681544 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 10 Mar 2011 21:28:49 -0800 Subject: 'brew test' now an official command --- Library/Contributions/examples/brew-test.rb | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 Library/Contributions/examples/brew-test.rb (limited to 'Library/Contributions/examples') diff --git a/Library/Contributions/examples/brew-test.rb b/Library/Contributions/examples/brew-test.rb deleted file mode 100755 index fad657c4d..000000000 --- a/Library/Contributions/examples/brew-test.rb +++ /dev/null @@ -1,23 +0,0 @@ -require 'extend/ENV' -ENV.extend(HomebrewEnvExtension) - -ARGV.formulae.each do |f| - # Cannot test uninstalled formulae - unless f.installed? - puts "#{f.name} not installed" - next - end - - # Cannot test formulae without a test method - unless f.respond_to? :test - puts "#{f.name} defines no test" - next - end - - puts "Testing #{f.name}" - begin - f.test - rescue - puts "#{f.name}: failed" - end -end -- cgit v1.2.3