mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use build dir for testing --jit-debug
to fix failure like https://github.com/ruby/ruby/runs/327745536
This commit is contained in:
parent
a19d625e66
commit
3e2753ad2e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue