-
Notifications
You must be signed in to change notification settings - Fork 136
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
Obtaining a Backtrace after swift_test failure #1211
Comments
https://github.com/apple/swift/blob/main/docs/Backtracing.rst#macos I think the second part of the instructions would be required too, worth a try |
I played around with this today and may come back to it. You can indeed codesign the bundle (or binary within the bundle) by using I think the following might be needed to make this work on MacOS:
I assume it probably already works for swift linux users based on the docs, and the fact that the test is just a plain binary in linux. |
Hello, I was wondering if it is possible to obtain a backtrace (see https://github.com/apple/swift/blob/main/docs/Backtracing.rst) in the failure report of Xcode tests run via Bazel? Merely setting
env = {"SWIFT_BACKTRACE":"enable=yes"}
doesn't seem to help on MacOS.The text was updated successfully, but these errors were encountered: