We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In a swift:5.2 docker container (Swift 5.2.2); also tested with Swift 5.2.3 Linux (using the happn/swift:5.2.3-RELEASE image).
swift:5.2
happn/swift:5.2.3-RELEASE
md5: 46891d36ec96be3b84d469040a1bf251
Issue Description:
Create a Package.swift like this
Package.swift
// swift-tools-version:5.2 import PackageDescription let package = Package( name: "happn-swift", targets: [ .target(name: "happn-swift", dependencies: []), .testTarget(name: "happn-swiftTests", dependencies: ["happn-swift"]) ] )
with the proper architecture around it.
Run swift test --enable-test-discovery on Linux.
swift test --enable-test-discovery
Expected result: The test in the happn-swiftTests are run.
happn-swiftTests
Actual result: We get the following compilation error
/tmp/.build/x86_64-unknown-linux-gnu/debug/happn-swiftPackageTestsTestlist.derived/main.swift:4:10: error: use of unresolved identifier '__allTests_happn_swiftTests' tests += __allTests_happn_swiftTests()
Renaming the test target to happnSwiftTests (and updating the related folder name) does fix the test discovery.
happnSwiftTests
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
Confirmed to still fail the same way with the swift:5.3.1 docker image.
Fixed in swift:5.8.1 image (at least; it was probably fixed before that).
swift:5.8.1
No branches or pull requests
Environment
In a
swift:5.2
docker container (Swift 5.2.2); also tested with Swift 5.2.3 Linux (using thehappn/swift:5.2.3-RELEASE
image).Additional Detail from JIRA
md5: 46891d36ec96be3b84d469040a1bf251
Issue Description:
Create a
Package.swift
like thiswith the proper architecture around it.
Run
swift test --enable-test-discovery
on Linux.Expected result: The test in the
happn-swiftTests
are run.Actual result: We get the following compilation error
Renaming the test target to
happnSwiftTests
(and updating the related folder name) does fix the test discovery.The text was updated successfully, but these errors were encountered: