mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
5dfd225c64
commit
378c0bcd4f
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue