aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/tests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/tests.rb')
-rwxr-xr-xLibrary/Homebrew/cmd/tests.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/tests.rb b/Library/Homebrew/cmd/tests.rb
new file mode 100755
index 000000000..27f522d65
--- /dev/null
+++ b/Library/Homebrew/cmd/tests.rb
@@ -0,0 +1,9 @@
+module Homebrew extend self
+ def tests
+ (HOMEBREW_LIBRARY/'Homebrew/test').cd do
+ ENV['TESTOPTS'] = '-v' if ARGV.verbose?
+ system "rake", "deps", "test"
+ exit $?.exitstatus
+ end
+ end
+end