Sha256: bb882d7a3c858db0c154d46f59fc8392afd35cf491bf7ffa333a82ef87ef5408

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

require 'test/unit'
require 'rbconfig'

dir = File.dirname(__FILE__)
$:.unshift(dir) if not $:.include?(dir)
$:.unshift("#{dir}/../lib") if not $:.include?("#{dir}/../lib")
$:.unshift("#{dir}/../ext") if not $:.include?("#{dir}/../ext")

require 'internal/thread'

$stdout.sync = true
$stderr.sync = true

class TC_Thread < Test::Unit::TestCase
  def test_thread_cfp
    return if not defined?(RubyVM)

    cfp = Thread.current.cfp
  end
end

if __FILE__ == $0 then
  exit Test::Unit::AutoRunner.run
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-internal-0.8.5 test/test_thread.rb