1
0
Fork 0
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:
Takashi Kokubun 2019-12-01 01:25:54 -08:00
parent a19d625e66
commit 3e2753ad2e
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -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