Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Provide proper exit status with rake test:all

  • Loading branch information...
commit 9c97f12b8a5726ec30926608962893d4f3807318 1 parent 62101dc
Martin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
4 Rakefile
View
@@ -9,8 +9,8 @@ namespace(:test) do
task(:all) do
tests = Dir['test/**/test_*.rb'] - ['test/test_helper.rb']
cmd = "ruby -rubygems -I.:lib -e'%w( #{tests.join(' ')} ).each {|file| require file }'"
- puts cmd if ENV['VERBOSE']
- system cmd
+ puts(cmd) if ENV['VERBOSE']
+ exit system(cmd)
end
desc "Run all tests on multiple ruby versions (requires rvm)"
Please sign in to comment.
Something went wrong with that request. Please try again.