Skip to content

Commit 6cebc0c

Browse files
committed
Update regexp to find out the number of runtime compile methods
1 parent 315e774 commit 6cebc0c

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
@@ -1758,7 +1758,7 @@ def build_stats(attribute, *args)
17581758

17591759
private def build_stats_native_runtime_compilable_methods(*args)
17601760
log = File.read('aot-build.log')
1761-
unless log =~ /\[librubyvm:\d+\]\s*(?<method_count>[\d,]+).* of .* methods included for runtime compilation/
1761+
unless log =~ /\[librubyvm:\d+\]\s*(?<method_count>[\d,]+)\s*runtime compiled methods/
17621762
raise 'Could not find line with runtime methods for librubyvm'
17631763
end
17641764
Integer($~[:method_count].gsub(',', ''))

0 commit comments

Comments
 (0)