Check exit code of spec:jruby when running precommit

This commit is contained in:
Bryan Helmkamp 2009-01-25 19:46:22 -05:00
parent 6836115308
commit 0039bf4d4b

View File

@ -87,7 +87,8 @@ end
desc "Run specs using jruby" desc "Run specs using jruby"
task "spec:jruby" do task "spec:jruby" do
system "jruby -S rake spec" result = system "jruby -S rake spec"
raise "JRuby tests failed" unless result
end end
desc "Run each spec in isolation to test for dependency issues" desc "Run each spec in isolation to test for dependency issues"