From 46b391ff731d66883082e6347d5fc4e54386d7bd Mon Sep 17 00:00:00 2001 From: k0kubun Date: Thu, 29 Mar 2018 12:37:31 +0000 Subject: test_jit.rb: loosen debug log check We couldn't catch log with https://gist.github.com/ko1/0fdc6a8d4add70cd8648000b16a3da38#file-brlog-trunk_gcc6-20180329-003723-L370 because the error message started with "gcc-6:". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_jit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_jit.rb') diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index 9e929213ad..cc14545b9e 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?("gcc: 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'] == 'gcc' $stderr.puts "\ntest/ruby/test_jit.rb: DEBUG OUTPUT:" cc1 = %x`gcc -print-prog-name=cc1`.rstrip if $?.success? -- cgit v1.2.3