summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_rubyoptions.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 5fdcf128cf..c616cb8831 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -789,11 +789,10 @@ class TestRubyOptions < Test::Unit::TestCase
end
def assert_segv(args, message=nil)
- omit if ENV['RUBY_ON_BUG']
-
# We want YJIT to be enabled in the subprocess if it's enabled for us
# so that the Ruby description matches.
args.unshift("--yjit") if self.class.yjit_enabled?
+ args.unshift({'RUBY_ON_BUG' => nil})
test_stdin = ""
opt = SEGVTest::ExecOptions.dup