From 3e2753ad2e0b643f5c731fb162f5805d82435032 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun 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 --- test/ruby/test_rubyoptions.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3