[DRE-commits] [SCM] ruby-rspec-core.git branch, master, updated. upstream/2.8.0-27-ga927cd4

Cédric Boutillier cedric.boutillier at gmail.com
Sat May 12 14:27:14 UTC 2012


The following commit has been merged in the master branch:
commit 592a63570c9b7c498b400b0d457994f4e878583a
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Fri May 11 14:33:08 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 07086ff..7cfc3a4 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -6,4 +6,4 @@ EXC_TESTS = [
   'spec/rspec/core/formatters/text_mate_formatter_spec.rb',
   'spec/rspec/core/formatters/html_formatter_spec.rb'
 ]
-RSpec::Core::Runner.run(Dir["spec/rspec/**/*_spec.rb"] - EXC_TESTS, $stderr, $stdout)
+exit(RSpec::Core::Runner.run(Dir["spec/rspec/**/*_spec.rb"] - EXC_TESTS, $stderr, $stdout))

-- 
ruby-rspec-core.git



More information about the Pkg-ruby-extras-commits mailing list