Fix this test to be consistent in whether a process will or will not be there

llvm-svn: 193827
This commit is contained in:
Enrico Granata 2013-10-31 23:14:48 +00:00
parent 7037b3f915
commit 7eeda58588
1 changed files with 2 additions and 2 deletions

View File

@ -216,8 +216,8 @@ class CrashingRecursiveInferiorTestCase(TestBase):
self.expect("next",
substrs = ['Process', expected_state])
self.expect("thread list", error=True,
substrs = ['Process must be launched'])
if not(sys.platform.startswith("darwin")): # if stopped, we will have a process around
self.expect("thread list", error=True,substrs = ['Process must be launched'])
def recursive_inferior_crashing_expr_step_expr(self):
"""Test that lldb expressions work before and after stepping after a crash."""