[DRE-commits] [ruby-lapack] 01/02: fix FTBFS, add test for ruby2.1 (Closes: #747689)

Youhei SASAKI uwabami-guest at moszumanska.debian.org
Mon May 26 16:52:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

uwabami-guest pushed a commit to branch master
in repository ruby-lapack.

commit 22886efb8dc67e86cd0aa1666859cef8d398d39d
Author: Youhei SASAKI <uwabami at gfd-dennou.org>
Date:   Tue May 27 01:23:39 2014 +0900

    fix FTBFS, add test for ruby2.1 (Closes: #747689)
    
    Signed-off-by: Youhei SASAKI <uwabami at gfd-dennou.org>
---
 debian/ruby-tests.rb | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
index 07b4a8d..b565e7b 100644
--- a/debian/ruby-tests.rb
+++ b/debian/ruby-tests.rb
@@ -1,5 +1,8 @@
-if ENV['RUBY_TEST_BIN'] == '/usr/bin/ruby1.9.1'
-  system("#{ENV['RUBY_TEST_BIN']} -Idebian/ruby-lapack/usr/lib/ruby/vendor_ruby /usr/bin/testrb1.9.1 tests/") or raise
-else
+case ENV['RUBY_TEST_BIN']
+when "/usr/bin/ruby2.1" then
+  system("#{ENV['RUBY_TEST_BIN']} -Idebian/ruby-lapack/usr/lib/ruby/vendor_ruby /usr/bin/testrb2.1 tests/") or raise
+when "/usr/bin/ruby2.0" then
   system("#{ENV['RUBY_TEST_BIN']} -Idebian/ruby-lapack/usr/lib/ruby/vendor_ruby /usr/bin/testrb2.0 tests/") or raise
+when "/usr/bin/ruby1.9" then
+  system("#{ENV['RUBY_TEST_BIN']} -Idebian/ruby-lapack/usr/lib/ruby/vendor_ruby /usr/bin/testrb1.9.1 tests/") or raise
 end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-lapack.git



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