summaryrefslogtreecommitdiff
path: root/test/runner.rb
blob: 2f3267f6c3da308a033c1d459366be46bcaa1968 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

# Should be done in rubygems test files?
ENV["GEM_SKIP"] = "".freeze
ENV.delete("RUBY_CODESIGN")

Warning[:experimental] = false

gem_path = [
  File.realdirpath(".bundle"),
  File.realdirpath("../.bundle", __dir__),
]
ENV["GEM_PATH"] = gem_path.join(File::PATH_SEPARATOR)
ENV["GEM_HOME"] = gem_path.first

require_relative '../tool/test/runner'