-
Notifications
You must be signed in to change notification settings - Fork 4
Enabled automatic test discovery #99
Copy link
Copy link
Open
Labels
internal changeSomething that only changes on the insideSomething that only changes on the insidelow prioritySomething that is not urgentSomething that is not urgentwaiting onwe're waiting on something (e.g., a new version of Swift, or to remove support for an old version)we're waiting on something (e.g., a new version of Swift, or to remove support for an old version)
Metadata
Metadata
Assignees
Labels
internal changeSomething that only changes on the insideSomething that only changes on the insidelow prioritySomething that is not urgentSomething that is not urgentwaiting onwe're waiting on something (e.g., a new version of Swift, or to remove support for an old version)we're waiting on something (e.g., a new version of Swift, or to remove support for an old version)
As of Swift 5.1, there was an
--enable-test-discoveryflag onswift test, and it became enabled by default on Swift 5.4, that removes the need for aLinuxMain.swiftfile — in fact, it deprecates it.As long as we are supporting versions of Swift that do not support this flag (currently 4.2 and 5.0, we have to maintain the LinuxMain file, so there's no need to use the flag for the versions that have it opt-in (currently 5.1, 5.2, 5.3). If we remove support for 4.2 and 5.0, we could consider removing LinuxMain and using the flag, even if there are bugs in the opt-in versions.