[前][次][番号順一覧][スレッド一覧]

ruby-changes:59016

From: Takashi <ko1@a...>
Date: Sun, 1 Dec 2019 18:36:01 +0900 (JST)
Subject: [ruby-changes:59016] 3e2753ad2e (master): Use build dir for testing --jit-debug

https://git.ruby-lang.org/ruby.git/commit/?id=3e2753ad2e

From 3e2753ad2e0b643f5c731fb162f5805d82435032 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Sun, 1 Dec 2019 01:25:54 -0800
Subject: Use build dir for testing --jit-debug

to fix failure like https://github.com/ruby/ruby/runs/327745536

diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index abdacc5..a7f0de5 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -1045,7 +1045,8 @@ class TestRubyOptions < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L1045
 
   def test_jit_debug
     if JITSupport.supported?
-      assert_in_out_err(["--jit-debug=-O0 -O1", "--jit-verbose=2", ""], "", [], /-O0 -O1/)
+      env = { 'MJIT_SEARCH_BUILD_DIR' => 'true' }
+      assert_in_out_err([env, "--jit-debug=-O0 -O1", "--jit-verbose=2", "" ], "", [], /-O0 -O1/)
     end
   end
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]