From 0039bf4d4bddd52ef80b1f4346e54455d3dc0873 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sun, 25 Jan 2009 19:46:22 -0500 Subject: [PATCH] Check exit code of spec:jruby when running precommit --- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index b21ae84..836711a 100644 --- a/Rakefile +++ b/Rakefile @@ -87,7 +87,8 @@ end desc "Run specs using jruby" task "spec:jruby" do - system "jruby -S rake spec" + result = system "jruby -S rake spec" + raise "JRuby tests failed" unless result end desc "Run each spec in isolation to test for dependency issues"