Running swift test with Swift 5.1 or later complains about missing LinuxMain.swift file.
$ swift test
error: missing LinuxMain.swift file in the Tests directory
When using Swift 5.1 or later, use the --enable-test-discovery flag to bypass LinuxMain.swift.
swift test --enable-test-discovery
More info here: https://forums.swift.org/t/test-discovery-on-linux/26203
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With