From 22deda43cb98aa3cee48d0bebbff7c4db1d7652a Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Tue, 24 Aug 2021 17:25:45 +0900 Subject: tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProf Formerly, TypeProf was tested with the latest RBS code during `make test-bundled-gems`. However, when a new version of rbs is released, and if it is incompatible with TypeProf, `make test-bundled-gems` starts failing, which was annoying. By this change, TypeProf is tested with the bundled version of RBS. --- tool/test-bundled-gems.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tool/test-bundled-gems.rb') diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb index d4c45332ab..3f4c74b46a 100644 --- a/tool/test-bundled-gems.rb +++ b/tool/test-bundled-gems.rb @@ -17,7 +17,13 @@ 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 #{rake} test" + test_command = "#{ruby} -C #{gem_dir}/src/#{gem} -Ilib" + + if gem == "typeprof" + #test_command << " -I../rbs/lib" + end + + test_command << " #{rake} test" first_timeout = 600 # 10min if gem == "rbs" -- cgit v1.2.1