[DRE-commits] [ruby-bdb] 04/12: Fix test runner and remove the hard dependency on ruby1.8
David Suárez
deiv-guest at moszumanska.debian.org
Wed Mar 12 20:40:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
deiv-guest pushed a commit to branch master
in repository ruby-bdb.
commit 52ef7f98f41a46ca0d40f4c9e6d32b4602849f49
Author: David Suárez <david.sephirot at gmail.com>
Date: Wed Mar 12 20:31:04 2014 +0100
Fix test runner and remove the hard dependency on ruby1.8
---
debian/ruby-tests.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index a879e6d..07a07d7 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -3,5 +3,6 @@
Dir.foreach('tests') do |test_file|
next if /^\./ =~ test_file || /(_\.rb|~)$/ =~ test_file
next if FileTest.directory?(test_file)
- system("#{ENV['RUBY_TEST_BIN']} tests/#{test_file}") || exit($?)
+
+ system("#{ENV['RUBY_TEST_BIN']} tests/#{test_file}") || exit(1)
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-bdb.git
More information about the Pkg-ruby-extras-commits
mailing list