summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-30 15:08:52 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-30 15:08:52 +0000
commit378c0bcd4fc8095ef66fa7b12159ba5b14929670 (patch)
tree1cef7d87e32dd06374769a613a5bceba7d856217 /test
parent5dfd225c6438fe82b54eae541be42687aa91bbb2 (diff)
downloadruby-378c0bcd4fc8095ef66fa7b12159ba5b14929670.tar.gz
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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_jit.rb2
1 files changed, 1 insertions, 1 deletions
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?