From 203801566a186b7b1cbe899a06d0832923a1bdf9 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sun, 10 Jul 2022 23:01:09 -0700 Subject: 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. --- test/-ext-/bug_reporter/test_bug_reporter.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/-ext-/bug_reporter') 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/, -- cgit v1.2.3