ruby-changes:59031
From: Takashi <ko1@a...>
Date: Mon, 2 Dec 2019 03:51:38 +0900 (JST)
Subject: [ruby-changes:59031] 6bc8b4d8ea (master): Skip --jit-debug= test on mswin
https://git.ruby-lang.org/ruby.git/commit/?id=6bc8b4d8ea From 6bc8b4d8ea6cb8865225c0afcf1abd9e4b725376 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Sun, 1 Dec 2019 10:51:04 -0800 Subject: Skip --jit-debug= test on mswin it fails like https://ci.appveyor.com/project/ruby/ruby/builds/29235837/job/v0apdjj4qx8afars diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index a7f0de5..c7aa287 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -1044,7 +1044,8 @@ class TestRubyOptions < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L1044 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/