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

Enabled automatic test discovery #99

Open
Samasaur1 opened this issue Jun 3, 2022 · 0 comments
Open

Enabled automatic test discovery #99

Samasaur1 opened this issue Jun 3, 2022 · 0 comments
Labels
internal change Something that only changes on the inside low priority Something that is not urgent waiting on we're waiting on something (e.g., a new version of Swift, or to remove support for an old version)

Comments

@Samasaur1
Copy link
Owner

As of Swift 5.1, there was an --enable-test-discovery flag on swift test, and it became enabled by default on Swift 5.4, that removes the need for a LinuxMain.swift file — 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.

@Samasaur1 Samasaur1 added low priority Something that is not urgent internal change Something that only changes on the inside waiting on we're waiting on something (e.g., a new version of Swift, or to remove support for an old version) labels Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal change Something that only changes on the inside low priority Something that is not urgent waiting on we're waiting on something (e.g., a new version of Swift, or to remove support for an old version)
Projects
None yet
Development

No branches or pull requests

1 participant