Skip to content

Commit

Permalink
Move to tool/lib from test/lib.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jul 1, 2019
1 parent 142617c commit c3c0e3f
Show file tree
Hide file tree
Showing 22 changed files with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions test/runner.rb
Expand Up @@ -3,7 +3,8 @@

src_testdir = File.dirname(File.realpath(__FILE__))
$LOAD_PATH << src_testdir
$LOAD_PATH.unshift "#{src_testdir}/lib"
tool_dir = File.join src_testdir, "..", "tool"
$LOAD_PATH.unshift "#{tool_dir}/lib"

# Get bundled gems on load path
Dir.glob("#{src_testdir}/../gems/*/*.gemspec")
Expand All @@ -20,13 +21,13 @@ class Gem::TestCase < MiniTest::Unit::TestCase

ENV["GEM_SKIP"] = ENV["GEM_HOME"] = ENV["GEM_PATH"] = "".freeze

require_relative 'lib/profile_test_all' if ENV.has_key?('RUBY_TEST_ALL_PROFILE')
require_relative 'lib/tracepointchecker'
require_relative 'lib/zombie_hunter'
require_relative 'lib/iseq_loader_checker'
require_relative "#{tool_dir}/lib/profile_test_all" if ENV.has_key?('RUBY_TEST_ALL_PROFILE')
require_relative "#{tool_dir}/lib/tracepointchecker"
require_relative "#{tool_dir}/lib/zombie_hunter"
require_relative "#{tool_dir}/lib/iseq_loader_checker"

if ENV['COVERAGE']
require_relative "../tool/test-coverage.rb"
require_relative "#{tool_dir}/lib/test-coverage.rb"
end

begin
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c3c0e3f

Please sign in to comment.