summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-12-01 10:51:04 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2019-12-01 10:51:05 -0800
commit6bc8b4d8ea6cb8865225c0afcf1abd9e4b725376 (patch)
tree6f1aea1b5a98c4e95a1ebf35dfcba18079f642a6 /test/ruby/test_rubyoptions.rb
parentc7f05310a248e44ef9747a159a0e9bc289bb7090 (diff)
Skip --jit-debug= test on mswin
it fails like https://ci.appveyor.com/project/ruby/ruby/builds/29235837/job/v0apdjj4qx8afars
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r--test/ruby/test_rubyoptions.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index a7f0de58fa..c7aa287705 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -1044,7 +1044,8 @@ class TestRubyOptions < Test::Unit::TestCase
end
def test_jit_debug
- if JITSupport.supported?
+ # mswin uses prebuilt precompiled header. Thus it does not show a pch compilation log to check "-O0 -O1".
+ if JITSupport.supported? && !RUBY_PLATFORM.match?(/mswin/)
env = { 'MJIT_SEARCH_BUILD_DIR' => 'true' }
assert_in_out_err([env, "--jit-debug=-O0 -O1", "--jit-verbose=2", "" ], "", [], /-O0 -O1/)
end