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

[SR-6129] When testing in release mode with SwiftPM @testable doesn't work #4938

Closed
weissi opened this issue Oct 12, 2017 · 0 comments
Closed
Labels

Comments

@weissi
Copy link
Member

weissi commented Oct 12, 2017

Previous ID SR-6129
Radar None
Original Reporter @weissi
Type Bug
Status Resolved
Resolution Duplicate
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

md5: e6e52cb7530eb4de95cd97bd219a10a9

duplicates:

  • SR-1354 [SwiftPM] Improve support for performance tests

Issue Description:

Try using @testable with SwiftPM in release mode

$ swift test -c release
/path/to/MyFile.swift:11:18: error: module 'MyModule' was not compiled for testing
@testable import MyModule
                 ^
@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant