ruby-changes:50835
From: k0kubun <ko1@a...>
Date: Sat, 31 Mar 2018 00:08:57 +0900 (JST)
Subject: [ruby-changes:50835] k0kubun:r63042 (trunk): test_jit.rb: loosen CC check condition
k0kubun 2018-03-31 00:08:52 +0900 (Sat, 31 Mar 2018) New Revision: 63042 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63042 Log: test_jit.rb: loosen CC check condition see also: r63037. Probably it was not enough. Modified files: trunk/test/ruby/test_jit.rb Index: test/ruby/test_jit.rb =================================================================== --- test/ruby/test_jit.rb (revision 63041) +++ test/ruby/test_jit.rb (revision 63042) @@ -547,7 +547,7 @@ class TestJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L547 actual = err.scan(/^#{JIT_SUCCESS_PREFIX}:/).size # Debugging on CI - if err.include?("error trying to exec 'cc1': execvp: No such file or directory") && RbConfig::CONFIG['CC'] == 'gcc' + if err.include?("error trying to exec 'cc1': execvp: No such file or directory") && RbConfig::CONFIG['CC'].start_with?('gcc') $stderr.puts "\ntest/ruby/test_jit.rb: DEBUG OUTPUT:" cc1 = %x`gcc -print-prog-name=cc1`.rstrip if $?.success? -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/