diff options
Diffstat (limited to 'Library/Contributions/cmd/brew-tests.rb')
| -rwxr-xr-x | Library/Contributions/cmd/brew-tests.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-tests.rb b/Library/Contributions/cmd/brew-tests.rb new file mode 100755 index 000000000..0a2fb78e7 --- /dev/null +++ b/Library/Contributions/cmd/brew-tests.rb @@ -0,0 +1,11 @@ +module Homebrew extend self + def tests + (HOMEBREW_LIBRARY/'Homebrew/test').cd do + ENV['TESTOPTS'] = '-v' if ARGV.verbose? + system "rake", "test" + exit $?.exitstatus + end + end +end + +Homebrew.tests |
