From 96194ad6726f2e386a750776675e1703463ad4a3 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Fri, 30 Mar 2018 15:08:52 +0000 Subject: test_jit.rb: loosen CC check condition see also: r63037. Probably it was not enough. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_jit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index cc14545b9e..f67c8a243c 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -547,7 +547,7 @@ class TestJIT < Test::Unit::TestCase 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? -- cgit v1.2.3