Skip to content

Commit

Permalink
Provide proper exit status with rake test:all
Browse files Browse the repository at this point in the history
  • Loading branch information
mynyml committed Jan 4, 2010
1 parent b81272c commit a24d200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -10,7 +10,7 @@ namespace(:test) do
tests = Dir['test/**/test_*.rb'] - ['test/test_helper.rb'] tests = Dir['test/**/test_*.rb'] - ['test/test_helper.rb']
cmd = "ruby -rubygems -I.:lib -e'%w( #{tests.join(' ')} ).each {|file| require file }'" cmd = "ruby -rubygems -I.:lib -e'%w( #{tests.join(' ')} ).each {|file| require file }'"
puts(cmd) if ENV['VERBOSE'] puts(cmd) if ENV['VERBOSE']
system(cmd) exit system(cmd)
end end


desc "Run all tests on multiple ruby versions (requires rvm)" desc "Run all tests on multiple ruby versions (requires rvm)"
Expand Down

0 comments on commit a24d200

Please sign in to comment.