[Lldb-commits] [lldb] r193827 - Fix this test to be consistent in whether a process will or will not be there

Enrico Granata egranata at apple.com
Thu Oct 31 16:14:49 PDT 2013


Author: enrico
Date: Thu Oct 31 18:14:48 2013
New Revision: 193827

URL: http://llvm.org/viewvc/llvm-project?rev=193827&view=rev
Log:
Fix this test to be consistent in whether a process will or will not be there

Modified:
    lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py

Modified: lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py?rev=193827&r1=193826&r2=193827&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py (original)
+++ lldb/trunk/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py Thu Oct 31 18:14:48 2013
@@ -216,8 +216,8 @@ class CrashingRecursiveInferiorTestCase(
         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."""





More information about the lldb-commits mailing list