Skip to content

Commit 5f398df

Browse files
committed
Run CGI_test in dedicated ruby process
1 parent b4b6365 commit 5f398df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ end
112112

113113
task :stdlib_test => :compile do
114114
test_files = FileList["test/stdlib/**/*_test.rb"].reject do |path|
115-
path =~ %r{Ractor} || path =~ %r{Encoding}
115+
path =~ %r{Ractor} || path =~ %r{Encoding} || path =~ %r{CGI_test}
116116
end
117117

118118
if ENV["RANDOMIZE_STDLIB_TEST_ORDER"] == "true"
@@ -121,6 +121,7 @@ task :stdlib_test => :compile do
121121

122122
sh "#{ruby} -Ilib #{bin}/test_runner.rb #{test_files.join(' ')}"
123123
# TODO: Ractor tests need to be run in a separate process
124+
sh "#{ruby} -Ilib #{bin}/test_runner.rb test/stdlib/CGI_test.rb"
124125
sh "#{ruby} -Ilib #{bin}/test_runner.rb test/stdlib/Ractor_test.rb"
125126
sh "#{ruby} -Ilib #{bin}/test_runner.rb test/stdlib/Encoding_test.rb"
126127
end

0 commit comments

Comments
 (0)