File: ruby-tests.rb

package info (click to toggle)
ruby-lapack 1.6-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 29,080 kB
  • ctags: 3,404
  • sloc: ansic: 190,568; ruby: 3,915; makefile: 4
file content (8 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
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