Skip to content

Commit 6e2007e

Browse files
jchalouansalond
authored andcommitted
[GR-56340] Make the truffle compilation log matching work both for logs with and without engine id.
PullRequest: truffleruby/4324
2 parents b805099 + b196b25 commit 6e2007e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/jt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2249,7 +2249,7 @@ def graph(*args)
22492249
IO.popen(command, err: [:child, :out]) do |pipe|
22502250
pipe.each_line do |line|
22512251
puts line
2252-
if line =~ /\[engine\] opt done\s+id=\d+\s+#{Regexp.escape(method)}/
2252+
if line =~ /\[engine\] opt done(\s+engine=\d+)?\s+id=\d+\s+#{Regexp.escape(method)}/
22532253
compiled = true
22542254
Process.kill 'TERM', pipe.pid
22552255
end

0 commit comments

Comments
 (0)