diff options
| author | Adam Vandenberg | 2011-03-10 21:28:49 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-12 11:55:10 -0800 |
| commit | bda9ffa5d7fd08011da9d82e24252478c8681544 (patch) | |
| tree | ab660cacbae012b95a460b22e31615289a58c0da /Library/Contributions/examples | |
| parent | f0b6f6853a86a102761907ded21c3ceca5be577f (diff) | |
| download | brew-bda9ffa5d7fd08011da9d82e24252478c8681544.tar.bz2 | |
'brew test' now an official command
Diffstat (limited to 'Library/Contributions/examples')
| -rwxr-xr-x | Library/Contributions/examples/brew-test.rb | 23 |
1 files changed, 0 insertions, 23 deletions
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 |
