mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for miniruby
This commit is contained in:
parent
4096e4b08c
commit
a27dc83113
Notes:
git
2019-09-29 20:58:18 +09:00
2 changed files with 2 additions and 2 deletions
|
@ -536,7 +536,7 @@ cont.$(OBJEXT): $(COROUTINE_H)
|
|||
TEST_BUNDLED_GEMS_ALLOW_FAILURES =
|
||||
|
||||
test-bundled-gems-run:
|
||||
$(Q) $(XRUBY) $(srcdir)/tool/test-bundled-gems.rb
|
||||
$(Q) $(XRUBY) $(srcdir)/tool/test-bundled-gems.rb $(XRUBY)
|
||||
|
||||
update-src::
|
||||
@$(CHDIR) "$(srcdir)" && LC_TIME=C exec $(VCSUP)
|
||||
|
|
|
@ -9,7 +9,7 @@ File.foreach('gems/bundled_gems') do |line|
|
|||
puts "\nTesting the #{gem} gem"
|
||||
|
||||
gem_src_dir = File.expand_path("../../gems/src/#{gem}", __FILE__ )
|
||||
test_command = "#{RbConfig.ruby} -C #{gem_src_dir} -Ilib ../../../.bundle/bin/rake"
|
||||
test_command = "#{ARGV.join(' ')} -C #{gem_src_dir} -Ilib ../../../.bundle/bin/rake"
|
||||
puts test_command
|
||||
system test_command
|
||||
|
||||
|
|
Loading…
Reference in a new issue