diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_jit.rb | 2 |
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? |