Permalink
Browse files

Provide proper exit status with rake test:all

  • Loading branch information...
1 parent 62101dc commit 9c97f12b8a5726ec30926608962893d4f3807318 @mynyml committed Jan 4, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -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)"

0 comments on commit 9c97f12

Please sign in to comment.