Skip to content

SwiftDriverTests.SwiftDriverTests testAndroidNDK failed on macOS Apple Silicon bot #1682

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

Closed
shahmishal opened this issue Aug 21, 2024 · 2 comments · Fixed by #1684
Closed
Assignees

Comments

@shahmishal
Copy link
Member

Test Case '-[SwiftDriverTests.SwiftDriverTests testAndroidNDK]' started.
/Users/ec2-user/jenkins/workspace/oss-swift-incremental-RA-macos-apple-silicon/swift-driver/Tests/SwiftDriverTests/SwiftDriverTests.swift:7983: error: -[SwiftDriverTests.SwiftDriverTests testAndroidNDK] : XCTAssertTrue failed
Test Case '-[SwiftDriverTests.SwiftDriverTests testAndroidNDK]' failed (0.012 seconds).

https://ci.swift.org/job/oss-swift-incremental-RA-macos-apple-silicon/6815/console

@shahmishal
Copy link
Member Author

cc: @compnerd @hyp

@shahmishal
Copy link
Member Author

Might be related to #1681

@compnerd compnerd self-assigned this Aug 21, 2024
compnerd added a commit to compnerd/swift-driver that referenced this issue Aug 21, 2024
The Darwin toolchain is incomplete, missing `swift-autolink-extract`.
Add a workaround for the missing tool to allow the tests to pass. This
then uncovers another issue with ASi builds where the prebuilt NDK is
only available on x86_64 hosts. While we could loosen the NDK lookup, we
do still occassionally use some of the tools, so for now lets limit the
test to x86_64.

Fixes: swiftlang#1682
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants