[DRE-commits] [ruby-rspec] 06/19: fixup
Jérémy Bobbio
lunar at alioth.debian.org
Sun Oct 20 17:01:19 UTC 2013
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/multideb
in repository ruby-rspec.
commit 236bdf1a560cea66a8c30666265926243e850d00
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sat Oct 19 19:33:00 2013 +0200
fixup
---
debian/ruby-tests.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 73d5022..a130a05 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -6,12 +6,12 @@ EXC_TESTS = [
'rspec-core/spec/rspec/core/formatters/text_mate_formatter_spec.rb',
'rspec-core/spec/rspec/core/formatters/html_formatter_spec.rb'
]
-RSpec::Core::Runner.run(Dir["rspec-core/spec/rspec/**/*_spec.rb"] - EXC_TESTS, $stderr, $stdout) || exit 1
+RSpec::Core::Runner.run(Dir["rspec-core/spec/rspec/**/*_spec.rb"] - EXC_TESTS, $stderr, $stdout) || fail
with_core = $:
$: << 'rspec-expectations/spec'
$: << 'rspec-expectations/lib'
-RSpec::Core::Runner.run(Dir["rspec-expectations/spec/rspec/**/*_spec.rb"], $stderr, $stdout) || exit 1
+RSpec::Core::Runner.run(Dir["rspec-expectations/spec/rspec/**/*_spec.rb"], $stderr, $stdout) || fail
$: = with_core
$: << 'rspec-mocks/spec'
@@ -19,4 +19,4 @@ $: << 'rspec-mocks/lib'
#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["rspec-mocks/spec/rspec/**/*_spec.rb"], $stderr, $stdout) || exit 1
+RSpec::Core::Runner.run(Dir["rspec-mocks/spec/rspec/**/*_spec.rb"], $stderr, $stdout) || fail
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec.git
More information about the Pkg-ruby-extras-commits
mailing list