summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-02 19:30:29 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-02 19:55:31 +0900
commit85ee4a65a22ebe6f3c65f0b10397bd6ebb976333 (patch)
tree4e8db40c10faa8e9fe310bd289cb0898ca3dc6af /test/ruby
parentffe0f9eb6cfbc388a0da979ed173da94fae46c82 (diff)
Allow to override environment variables for debug
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