summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-08-25 09:18:34 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-29 09:09:41 -0700
commit232e43fd52e53f667c2c290cffb4afa524889f0f (patch)
treefd0362f5d665886762a6919ac18210d74ee5f222 /test
parent5ef048e5b1c3dd61adf782ace570bb0a1f9bb12f (diff)
Respect RUBY_TESTOPTS on test-all (https://github.com/Shopify/ruby/pull/435)
* Respect RUBY_TESTOPTS on test-all * Increase the Cirrus timeout * Increase the CSV test timeout
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6289
Diffstat (limited to 'test')
-rw-r--r--test/csv/parse/test_general.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/csv/parse/test_general.rb b/test/csv/parse/test_general.rb
index d2b74008eb..c740462c01 100644
--- a/test/csv/parse/test_general.rb
+++ b/test/csv/parse/test_general.rb
@@ -247,6 +247,9 @@ line,5,jkl
def assert_parse_errors_out(data, **options)
assert_raise(CSV::MalformedCSVError) do
timeout = 0.2
+ if defined?(RubyVM::YJIT.enabled?) and RubyVM::YJIT.enabled?
+ timeout = 1 # for --yjit-call-threshold=1
+ end
if defined?(RubyVM::MJIT.enabled?) and RubyVM::MJIT.enabled?
timeout = 5 # for --jit-wait
end