[all-commits] [llvm/llvm-project] bb4efa: [lldb] Use SBProcess::Continue instead of 'run' co...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Fri Aug 14 04:17:24 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bb4efab9a4d9431dbedb27f04249effd0a73812e
https://github.com/llvm/llvm-project/commit/bb4efab9a4d9431dbedb27f04249effd0a73812e
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2020-08-14 (Fri, 14 Aug 2020)
Changed paths:
M lldb/test/API/python_api/target/TestTargetAPI.py
Log Message:
-----------
[lldb] Use SBProcess::Continue instead of 'run' command in TestTargetAPI.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.
More information about the All-commits
mailing list