-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[Dexter] Fix test failures on greendragon #66299
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
This reverts commit 37a20cc.
883738f
to
ae83aa6
Compare
The issue with these test failures is that the dSYM was not being found by lldb, which is why setting breakpoints was failing and lldb quit without performing any steps. This change copies the dSYM to the same temp directory that the executeable is copied to.
ae83aa6
to
058842d
Compare
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.
LGTM - thanks for investigating this, this explains why I couldn't reproduce the error on other platforms!
@@ -217,6 +218,9 @@ def _run_test(self, test_name): | |||
""" | |||
try: | |||
if self.context.options.binary: | |||
if platform.system() == 'Darwin' and os.path.exists(self.context.options.binary + '.dSYM'): |
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.
Might be a good idea to add a command line option to manually specify the location of the dsym file, but I'm happy to submit that as an extra patch afterwards.
@SLTozer Sounds good, I will merge this because greendragon is unstable, and we are seeing XPASSES, and then we can make the dsym location configurable in a future patch! |
The issue with these test failures is that the dSYM was not being found by lldb, which is why setting breakpoints was failing and lldb quit without performing any steps. This change copies the dSYM to the same temp directory that the executable is copied to.
The issue with these test failures is that the dSYM was not being found by lldb, which is why setting breakpoints was failing and lldb quit without performing any steps. This change copies the dSYM to the same temp directory that the executable is copied to.