summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstraptest/runner.rb4
-rw-r--r--bootstraptest/test_yjit.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 039a15148d..9dc3950f07 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -798,4 +798,8 @@ def rjit_enabled?
ENV.fetch('RUN_OPTS', '').include?('rjit')
end
+def prism_enabled?
+ ENV.fetch('RUN_OPTS', '').include?('--parser=prism')
+end
+
exit main
diff --git a/bootstraptest/test_yjit.rb b/bootstraptest/test_yjit.rb
index 8ae3399dc2..b320322d84 100644
--- a/bootstraptest/test_yjit.rb
+++ b/bootstraptest/test_yjit.rb
@@ -14,7 +14,7 @@ assert_equal "ok", %q{
rescue ArgumentError
:ok
end
-}
+} unless prism_enabled? # https://github.com/ruby/prism/issues/2249
# regression test for send processing before side exit
assert_equal "ok", %q{