Skip to content

Commit efef5f1

Browse files
committed
[benchmark] Add a note that states if we failed to find the swift benchmark suite.
This will make it easier to identify in the CI if we failed to find the swift benchmark suite.
1 parent d3a2e71 commit efef5f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lit.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,9 @@ if os.path.exists(swift_benchmarks_path):
163163
config.available_features.add("have-swift-benchmarks")
164164
config.substitutions.append( ('%{swift_benchmarks_path}', swift_benchmarks_path) )
165165
lit_config.note('testing using swift benchmarks at path: {}'.format(swift_benchmarks_path))
166-
166+
else:
167+
lit_config.note('Failed to find swift benchmarks, skipping related tests.')
168+
167169
# Find the tools we need.
168170

169171
swift_path = lit_config.params.get(

0 commit comments

Comments
 (0)