diff options
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 |
