Skip to content

Test target api #1673

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

Merged
merged 4 commits into from
Aug 18, 2020
Merged

Test target api #1673

merged 4 commits into from
Aug 18, 2020

Conversation

JDevlieghere
Copy link

No description provided.

JDevlieghere and others added 4 commits August 18, 2020 11:43
No need to run this test with the multiple variants.

(cherry picked from commit dbf44b8)
…API.py

This test is flaky on Green Dragon as it often fails when the process state
is "Invalid" in the assert:
    self.assertEqual(process.GetState(), lldb.eStateExited)
It seems this is related to just doing "run" which apparently invalidates
the Target's process in case it's still running and needs to be restarted.
Just doing 'continue' on the process (and ignoring the error in case it already
finished) prevents that and makes this consistently pass for me.

Just pushing this out to get Green Dragon back online.

(cherry picked from commit bb4efab)
The test checks the inferior's output. During replay the binary doesn't
actually run and the output isn't captured by the reproducers.

(cherry picked from commit 9c5e25a)
@shahmishal shahmishal merged commit 5111aed into swiftlang:apple/stable/20200714 Aug 18, 2020
@JDevlieghere JDevlieghere deleted the TestTargetAPI branch August 18, 2020 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants