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
[APIDiff] Enable tests on non-Darwin #3519
Conversation
apple/swift#37703 |
apple/swift#37703 |
guard let tool = try? Resources.default.toolchain.getSwiftAPIDigester() else { | ||
throw XCTSkip("swift-api-digester unavailable") | ||
} | ||
guard localFileSystem.isSymlink(tool) else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems odd. no better way to tell? cc @abertelrud
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, this is fairly subtle and won't work in the general case. Is there a -version
flag with which it could be invoked and then a more robust check could be made?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swift-api-digester is part of the frontend now, so unfortunately there's no version number to check for until "Swift Next" gets an official version number
@swift-ci please smoke test |
Enable the api diff tests on Linux once apple/swift#37703 is merged
Motivation:
Make sure experimental-api-diff is works and is tested on Linux
Modifications:
This PR just enables tests, the cross-platform fix is in apple/swift#37703
Result:
API diff tests will run on all platforms