1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProf"

This reverts commit 22deda43cb.

It was incomplete. Sorry!
This commit is contained in:
Yusuke Endoh 2021-08-24 18:07:50 +09:00
parent 80597f2544
commit 4a6b5f4622
2 changed files with 2 additions and 8 deletions

View file

@ -1372,7 +1372,7 @@ no-test-bundled-gems-prepare: no-test-bundled-gems-precheck
yes-test-bundled-gems-prepare: yes-test-bundled-gems-precheck
$(ACTIONS_GROUP)
$(XRUBY) -C "$(srcdir)" bin/gem install --no-document \
--install-dir .bundle --conservative "bundler" "minitest:~> 5" "test-unit" "rake" "hoe" "yard" "pry" "packnga" "rexml" "json-schema"
--install-dir .bundle --conservative "bundler" "minitest:~> 5" "test-unit" "rake" "hoe" "yard" "pry" "packnga" "rexml" "json-schema" "rbs"
$(ACTIONS_ENDGROUP)
PREPARE_BUNDLED_GEMS = test-bundled-gems-prepare

View file

@ -17,13 +17,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
next if ARGV.any? {|pat| !File.fnmatch?(pat, gem)}
puts "#{github_actions ? "##[group]" : "\n"}Testing the #{gem} gem"
test_command = "#{ruby} -C #{gem_dir}/src/#{gem} -Ilib"
if gem == "typeprof"
#test_command << " -I../rbs/lib"
end
test_command << " #{rake} test"
test_command = "#{ruby} -C #{gem_dir}/src/#{gem} -Ilib #{rake} test"
first_timeout = 600 # 10min
if gem == "rbs"