mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
8e53d18e67
As `make test-tool` does not use gems, and no Rubygems stuffs is needed, so moved such things to test/runner.rb. Also no longer nees `--test-target-dir` option.
11 lines
375 B
Ruby
11 lines
375 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Should be done in rubygems test files?
|
|
ENV["GEM_SKIP"] = ENV["GEM_HOME"] = ENV["GEM_PATH"] = "".freeze
|
|
|
|
# Get bundled gems on load path
|
|
Dir.glob("#{__dir__}/../gems/*/*.gemspec")
|
|
.reject {|f| f =~ /minitest|test-unit|power_assert/ }
|
|
.map {|f| $LOAD_PATH.unshift File.join(File.dirname(f), "lib") }
|
|
|
|
require_relative '../tool/test/runner'
|