diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-01 01:25:54 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-12-01 01:25:55 -0800 |
commit | 3e2753ad2e0b643f5c731fb162f5805d82435032 (patch) | |
tree | aa6aa1d356a823102c8a45f1576d48be8b53d37c | |
parent | a19d625e667024fe27dcee04dd748e914bc24762 (diff) | |
download | ruby-3e2753ad2e0b643f5c731fb162f5805d82435032.tar.gz |
Use build dir for testing --jit-debug
to fix failure like https://github.com/ruby/ruby/runs/327745536
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index abdacc508e..a7f0de58fa 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -1045,7 +1045,8 @@ class TestRubyOptions < Test::Unit::TestCase 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 |