Skip to content

Commit 16adae1

Browse files
Don't scan the ractor directory without --ractor-only
1 parent d922a81 commit 16adae1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

run_benchmarks.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ def run_benchmarks(ruby:, ruby_description:, categories:, name_filters:, out_pat
268268

269269
# Get the list of benchmark files/directories matching name filters
270270
bench_files = Dir.children(bench_dir).sort.filter do |entry|
271+
# Skip the ractor directory when in the main benchmarks dir
272+
next false if bench_dir == "benchmarks" && entry == "ractor"
271273
match_filter(entry, categories: categories, name_filters: name_filters)
272274
end
273275

0 commit comments

Comments
 (0)