Skip to content

Commit 22b9ef7

Browse files
committed
[GR-55560] Make the truffle compilation log matching work both for logs with and without engine id.
PullRequest: truffleruby/4317
2 parents 001cccc + c44a843 commit 22b9ef7

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)