Allow test-unit-ruby-core files to be loaded from bundled gems
Separate the directly from the customized test-unit, since it may not work with bundled gems.
This commit is contained in:
parent
8722342ca9
commit
c5c15a565b
Notes:
git
2023-06-14 03:14:49 +00:00
1
gems/lib/core_assertions.rb
Normal file
1
gems/lib/core_assertions.rb
Normal file
@ -0,0 +1 @@
|
||||
require_relative "../../tool/lib/core_assertions.rb"
|
@ -15,8 +15,7 @@ ENV["GEM_PATH"] = [File.realpath('.bundle'), File.realpath('../.bundle', __dir__
|
||||
colorize = Colorize.new
|
||||
rake = File.realpath("../../.bundle/bin/rake", __FILE__)
|
||||
gem_dir = File.realpath('../../gems', __FILE__)
|
||||
dummy_rake_compiler_dir = File.realpath('../dummy-rake-compiler', __FILE__)
|
||||
rubylib = [File.expand_path(dummy_rake_compiler_dir), ENV["RUBYLIB"]].compact.join(File::PATH_SEPARATOR)
|
||||
rubylib = [gem_dir+'/lib', ENV["RUBYLIB"]].compact.join(File::PATH_SEPARATOR)
|
||||
exit_code = 0
|
||||
ruby = ENV['RUBY'] || RbConfig.ruby
|
||||
failed = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user