Skip to content

Enabled automatic test discovery #99

@Samasaur1

Description

@Samasaur1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal changeSomething that only changes on the insidelow prioritySomething that is not urgentwaiting onwe're waiting on something (e.g., a new version of Swift, or to remove support for an old version)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions