diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2022-07-10 23:01:09 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-07-10 23:10:36 -0700 |
commit | 203801566a186b7b1cbe899a06d0832923a1bdf9 (patch) | |
tree | f6cfb454201c82d0945940abd20303b3608010e5 /test/-ext-/bug_reporter | |
parent | da21a2c388852205e325b71b6400b7dd351146bb (diff) |
Fix #5872 for MJIT GitHub Actions
If you run tests with RUN_OPTS=--mjit, the test fixes in
https://github.com/ruby/ruby/pull/5872 don't work.
Diffstat (limited to 'test/-ext-/bug_reporter')
-rw-r--r-- | test/-ext-/bug_reporter/test_bug_reporter.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/-ext-/bug_reporter/test_bug_reporter.rb b/test/-ext-/bug_reporter/test_bug_reporter.rb index 6e955e2cbd..8e1121f908 100644 --- a/test/-ext-/bug_reporter/test_bug_reporter.rb +++ b/test/-ext-/bug_reporter/test_bug_reporter.rb @@ -1,12 +1,14 @@ # frozen_string_literal: false require 'test/unit' require 'tmpdir' +require_relative '../../lib/jit_support' class TestBugReporter < Test::Unit::TestCase def test_bug_reporter_add omit if ENV['RUBY_ON_BUG'] description = RUBY_DESCRIPTION + description = description.sub(/\+MJIT /, '') unless JITSupport.mjit_force_enabled? expected_stderr = [ :*, /\[BUG\]\sSegmentation\sfault.*\n/, |