Sha256: 11ab8b3c70be272fa080ddd297b7d1efe18fe3b84add38ad60a4dba719b93565

Contents?: true

Size: 429 Bytes

Versions: 7

Compression:

Stored size: 429 Bytes

Contents

$: << '.' # TODO: hack
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

7 entries across 7 versions & 1 rubygems

Version Path
ruby-internal-0.8.5 run_tests.rb
ruby-internal-0.8.4 run_tests.rb
ruby-internal-0.8.3 run_tests.rb
ruby-internal-0.8.2 run_tests.rb
ruby-internal-0.8.1 run_tests.rb
ruby-internal-0.8.0 run_tests.rb
ruby-internal-0.7.3 run_tests.rb