aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/examples
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-10 21:28:49 -0800
committerAdam Vandenberg2011-03-12 11:55:10 -0800
commitbda9ffa5d7fd08011da9d82e24252478c8681544 (patch)
treeab660cacbae012b95a460b22e31615289a58c0da /Library/Contributions/examples
parentf0b6f6853a86a102761907ded21c3ceca5be577f (diff)
downloadbrew-bda9ffa5d7fd08011da9d82e24252478c8681544.tar.bz2
'brew test' now an official command
Diffstat (limited to 'Library/Contributions/examples')
-rwxr-xr-xLibrary/Contributions/examples/brew-test.rb23
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