-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Pass SWIFT_EXEC
to swift-test via bootstrap
#4213
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
Conversation
@swift-ci please smoke test |
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.
good catch. was this causing the issue @elsh ran into?
It wasn't, but I noticed it while looking at how the just built |
@swift-ci please smoke test macOS |
1 similar comment
@swift-ci please smoke test macOS |
Looks like we're consistently hitting
|
This means that there were diagnostics, but the test does not print them 🥲 |
@swift-ci please smoke test |
Printing the diagnostics doesn't seem to have given us more info, not sure if something consumes stdout here or the |
@neonichu from the log it seems like the test is failing with "fatalError" :/ |
Right, I was thinking that would be this fatal error, but it doesn't seem to be, as there are no errors printed after my change to print them. So right now not sure how to figure out where the fatal error is coming from. |
I've been seeing that very test fail locally, but only when run as part of |
I guess it looks slightly different, since it's WorkspaceTests.swift:4171 that's failing here but WorkspaceTests.swift:4170 in my case — but it's interesting that it's the exact same test that's failing. |
@swift-ci please smoke test |
Looks like whatever made this fail was unrelated. |
It looks like so far we have only been passing `SWIFT_EXEC` to `swift-build` but not `swift-test`.
ed11d42
to
57cdb59
Compare
@swift-ci please smoke test |
@swift-ci please smoke test macOS |
@compnerd may be interesting to you? |
@swift-ci please smoke test macOS |
This reverts commit 59dc518. This change was incorrect, `bootstrap` is in fact creating a symlink to the inferior compiler for testing, so overriding `SWIFT_EXEC` is incorrect.
It looks like so far we have only been passing
SWIFT_EXEC
toswift-build
but notswift-test
.