Sha256: 994623525809720283ca1248ce58d5982f838d3f42ea17bc6adcf8c18c435b7c
Contents?: true
Size: 893 Bytes
Versions: 3
Compression:
Stored size: 893 Bytes
Contents
#!/usr/bin/env ruby # loading helper routine for testing bioruby require 'pathname' load Pathname.new(File.join(File.dirname(__FILE__), 'bioruby_test_helper.rb')).cleanpath.to_s # libraries needed for the tests require 'test/unit' if !defined?(Test::Unit::AutoRunner) then # Ruby 1.9.1 does not have Test::Unit::AutoRunner Test::Unit.setup_argv do |files| [ File.dirname($0) ] end # tests called when exiting the program elsif defined?(Test::Unit::Color) then # workaround for test-unit-2.0.x r = Test::Unit::AutoRunner.new(true) r.to_run.push File.dirname($0) r.process_args(ARGV) exit r.run elsif RUBY_VERSION > "1.8.2" # current Test::Unit -- Ruby 1.8.3 or later exit Test::Unit::AutoRunner.run(true, File.dirname($0)) else # old Test::Unit -- Ruby 1.8.2 or older exit Test::Unit::AutoRunner.run(false, File.dirname($0)) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bio-1.4.2 | test/runner.rb |
bio-1.4.1 | test/runner.rb |
bio-1.4.0 | test/runner.rb |