Sha256: fd8ec6f6bdb9672e841f02910020334663eac008f66cf0db0b021eaaa81bd257

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

require 'test/test_helpers'

def run_tests
  begin
    require 'test/unit'
  rescue LoadError
    puts "WARNING: Test::Unit not installed; skipping tests"
    return
  end

  $:.unshift('ext')
  $:.unshift('lib')
  tests = Dir['test/test_*.rb']
  tests.each do |test|
    load test
  end

  run_all_tests()
end

if __FILE__ == $0 then
  require 'timeout'
  result = nil
  timeout(600) { run_tests() }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-internal-0.7.2 run_tests.rb
ruby-internal-0.7.1 run_tests.rb
ruby-internal-0.7.0 run_tests.rb
ruby-internal-0.6.0 run_tests.rb