[DRE-commits] [SCM] ruby-rspec-mocks.git branch, master, updated. upstream/2.8.0-14-g0d538f0
Cédric Boutillier
cedric.boutillier at gmail.com
Fri May 11 14:07:39 UTC 2012
The following commit has been merged in the master branch:
commit 0bc32e742e2ec779740e04b05930493062128466
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date: Fri May 11 14:35:28 2012 +0200
make ruby-tests.rb exit with nonzero code if tests fail
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index ab27b8d..3d12360 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -3,4 +3,4 @@ require "rspec/core"
#The specs need yaml to be loaded before spec_helper
#https://github.com/rspec/rspec-mocks/issues/107
require "yaml"
-RSpec::Core::Runner.run(Dir["spec/rspec/**/*_spec.rb"], $stderr, $stdout)
+exit(RSpec::Core::Runner.run(Dir["spec/rspec/**/*_spec.rb"], $stderr, $stdout))
--
ruby-rspec-mocks.git
More information about the Pkg-ruby-extras-commits
mailing list