[DRE-commits] [ruby-bacon] 02/02: debian/ruby-tests.rb: run tests against Ruby interpreter being tested (Closes: #747728)
Antonio Terceiro
terceiro at moszumanska.debian.org
Mon May 12 14:55:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-bacon.
commit fe203a48798ac6f2a46a58bbc6964c5416079df6
Author: Antonio Terceiro <terceiro at debian.org>
Date: Mon May 12 11:53:53 2014 -0300
debian/ruby-tests.rb: run tests against Ruby interpreter being tested (Closes: #747728)
---
debian/changelog | 2 ++
debian/ruby-tests.rb | 6 +-----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index aeafc29..83fec6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ ruby-bacon (1.2.0-4) unstable; urgency=medium
* Team upload.
* Rebuild against gem2deb (>= 0.7.0~) to install gemspec in shared location
for all Ruby versions.
+ * debian/ruby-tests.rb: run tests against Ruby interpreter being tested
+ (Closes: #747728)
-- Antonio Terceiro <terceiro at debian.org> Mon, 12 May 2014 11:25:02 -0300
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 492a801..39e8162 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,5 +1 @@
-if RUBY_VERSION <= '1.9.1'
- system("ruby1.8 debian/ruby-bacon/usr/bin/bacon --automatic --quiet") or raise
-else
- system("ruby1.9.1 debian/ruby-bacon/usr/bin/bacon --automatic --quiet") or raise
-end
+exec(ENV['RUBY_TEST_BIN'], 'debian/ruby-bacon/usr/bin/bacon', '--automatic')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-bacon.git
More information about the Pkg-ruby-extras-commits
mailing list