Skip to content

Commit

Permalink
Allow test-unit-ruby-core files to be loaded from bundled gems
Browse files Browse the repository at this point in the history
Separate the directly from the customized test-unit, since it may not
work with bundled gems.
  • Loading branch information
nobu authored and hsbt committed Jun 14, 2023
1 parent 8722342 commit c5c15a5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions gems/lib/core_assertions.rb
@@ -0,0 +1 @@
require_relative "../../tool/lib/core_assertions.rb"
File renamed without changes.
3 changes: 1 addition & 2 deletions tool/test-bundled-gems.rb
Expand Up @@ -15,8 +15,7 @@
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 = []
Expand Down

0 comments on commit c5c15a5

Please sign in to comment.