2019-07-24 11:07:15 +09:00
|
|
|
# frozen_string_literal: true
|
2019-07-15 11:16:05 +09:00
|
|
|
require 'rbconfig'
|
|
|
|
|
2019-07-24 11:07:15 +09:00
|
|
|
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
|
2019-07-15 11:16:05 +09:00
|
|
|
|
|
|
|
require 'test/unit'
|
|
|
|
|
2019-07-24 11:07:15 +09:00
|
|
|
require_relative "../lib/profile_test_all" if ENV.key?('RUBY_TEST_ALL_PROFILE')
|
|
|
|
require_relative "../lib/tracepointchecker"
|
|
|
|
require_relative "../lib/zombie_hunter"
|
|
|
|
require_relative "../lib/iseq_loader_checker"
|
|
|
|
require_relative "../test-coverage.rb" if ENV.key?('COVERAGE')
|
|
|
|
|
|
|
|
case $0
|
|
|
|
when __FILE__
|
|
|
|
dir = __dir__
|
|
|
|
when "-e"
|
|
|
|
# No default directory
|
|
|
|
else
|
|
|
|
dir = File.expand_path("..", $0)
|
2019-07-15 11:16:05 +09:00
|
|
|
end
|
2019-07-25 20:57:32 +09:00
|
|
|
exit Test::Unit::AutoRunner.run(true, dir)
|