Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass -enable-testing when compiling the sources in a swift_test in discovery mode #1274

Conversation

brentleyjones
Copy link
Collaborator

When doing manual discovery, this allows the generated sources to @testable import that module even when building with -c opt.

PiperOrigin-RevId: 471809177
(cherry picked from commit 82f828b)

…n discovery mode

When doing manual discovery, this allows the generated sources to `@testable import` that module even when building with `-c opt`.

PiperOrigin-RevId: 471809177
(cherry picked from commit 82f828b)
Signed-off-by: Brentley Jones <github@brentleyjones.com>
@brentleyjones brentleyjones merged commit de3dc52 into master Jun 24, 2024
14 checks passed
@brentleyjones brentleyjones deleted the bj/pass-enable-testing-when-compiling-the-sources-in-a-swift_test-in-discovery-mode branch June 24, 2024 21:58
brentleyjones referenced this pull request Oct 1, 2024
…n discovery mode.

When doing manual discovery, this allows the generated sources to `@testable import` that module even when building with `-c opt`.

PiperOrigin-RevId: 471809177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants