Skip to content

Commit 3278886

Browse files
committed
benchmarks: only search in benchmark source directories in generate_harness
rdar://problem/32272114
1 parent 2e47272 commit 3278886

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/gyb_benchmark_support.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ def get_run_funcs(filepath):
5252

5353

5454
def find_run_funcs():
55-
swift_files = all_files(perf_dir, '.swift')
55+
swift_files = all_files(single_source_dir, '.swift')
56+
swift_files += all_files(multi_source_dir, '.swift')
5657
return sorted([func for f in swift_files for func in get_run_funcs(f)])
5758

5859

0 commit comments

Comments
 (0)