ruby-changes:50830
From: k0kubun <ko1@a...>
Date: Thu, 29 Mar 2018 21:37:35 +0900 (JST)
Subject: [ruby-changes:50830] k0kubun:r63037 (trunk): test_jit.rb: loosen debug log check
k0kubun 2018-03-29 21:37:31 +0900 (Thu, 29 Mar 2018) New Revision: 63037 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63037 Log: 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:". Modified files: trunk/test/ruby/test_jit.rb Index: test/ruby/test_jit.rb =================================================================== --- test/ruby/test_jit.rb (revision 63036) +++ test/ruby/test_jit.rb (revision 63037) @@ -547,7 +547,7 @@ class TestJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L547 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? -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/