Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 563465980
  • Loading branch information
thomasvl authored and swiple-rules-gardener committed Sep 7, 2023
1 parent 1343eab commit 69e1072
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions swift/swift_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ def _generate_test_discovery_srcs(
):
inputs.append(symbol_graph.symbol_graph_dir)

if not modules_to_scan:
fail("Failed to find any modules to inspect for tests.")

# For each direct dependency/module that we have a symbol graph for (i.e.,
# every testonly dependency), declare a `.swift` source file where the
# discovery tool will generate an extension that lists the test entries for
Expand Down

1 comment on commit 69e1072

@brentleyjones
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.