2019-07-23 22:07:15 -04:00
|
|
|
# frozen_string_literal: true
|
2019-07-14 22:16:05 -04:00
|
|
|
require 'rbconfig'
|
|
|
|
|
2019-07-23 22:07:15 -04:00
|
|
|
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
|
2019-07-14 22:16:05 -04:00
|
|
|
|
|
|
|
require 'test/unit'
|
|
|
|
|
2019-10-02 03:02:00 -04:00
|
|
|
require "profile_test_all" if ENV.key?('RUBY_TEST_ALL_PROFILE')
|
|
|
|
require "tracepointchecker"
|
|
|
|
require "zombie_hunter"
|
|
|
|
require "iseq_loader_checker"
|
2021-08-05 03:21:15 -04:00
|
|
|
require "gc_checker"
|
2019-07-23 22:07:15 -04:00
|
|
|
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-14 22:16:05 -04:00
|
|
|
end
|
2019-07-25 07:57:32 -04:00
|
|
|
exit Test::Unit::AutoRunner.run(true, dir)
|