Skip to content

Commit cd47f32

Browse files
committed
[benchmark] Don’t emit report for no added tests
1 parent 94e86c0 commit cd47f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/scripts/run_smoke_bench

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def check_added(args, output_file=None):
355355
added = set(new.tests).difference(set(old.tests))
356356
new.tests = list(added)
357357
doctor = BenchmarkDoctor(args, driver=new)
358-
if output_file:
358+
if added and output_file:
359359
doctor.log.addHandler(MarkdownReportHandler(output_file))
360360
doctor.check()
361361

0 commit comments

Comments
 (0)