-
Notifications
You must be signed in to change notification settings - Fork 10.6k
[Test][SILOptimizer] Fix di-conditional-destroy-scope test #84941
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
[Test][SILOptimizer] Fix di-conditional-destroy-scope test #84941
Conversation
|
@swift-ci smoke test |
|
the test fails on linux |
|
@swift-ci please smoke test |
|
This one took a bit to figure out. I kept getting the error |
| // REQUIRES: objc_interop | ||
| // REQUIRES: foundation | ||
|
|
||
|
|
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 think some of the diffs are due to this removed blank line changing the line numbers for each following line. If we put it back in the diff can be reduced a bit.
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.
Yep, that would do it. Thanks. 😵💫
50ff303 to
4426bd5
Compare
I was very confused why this would pass in bash and not in the internal shell, so I pulled it down and tested a bit myself just now. I indeed couldn't get any output with the internal shell, so at last I checked if there was any difference in the commands executed by the two. Turns out in the bash shell If we surround the args with quotes so it behaves as intended also in bash, it speeds up test execution from ~30s to ~10s on my machine :D |
|
Hey Henrik. Are you recommending I do this? I'm having issues getting the internal test to pass. |
|
My point is, I think |
|
😮 You were right! I'm getting testing time of 15s compared to 40s. |
|
@swift-ci please smoke test |
Partially address: #84407
References
These are getting trickier to figure out, so adding references for comparison.