[Lldb-commits] [lldb] r170619 - /lldb/trunk/test/functionalities/inferior-changed/TestInferiorChanged.py

Andrew Kaylor andrew.kaylor at intel.com
Wed Dec 19 16:19:27 PST 2012


Author: akaylor
Date: Wed Dec 19 18:19:27 2012
New Revision: 170619

URL: http://llvm.org/viewvc/llvm-project?rev=170619&view=rev
Log:
Setting TestInferiorChanged.py to expectedFailureLinux because of bugzilla 14662.

Note that the test actually fails before reaching the assertion described in that bug, but the failure is a trivial matter of adding OS-conditional expected stop reason strings (as noted by new comments in this patch).  However, with the stop reason strings changed, the test fails for the more substantial reason noted in bugzilla 14662.

Modified:
    lldb/trunk/test/functionalities/inferior-changed/TestInferiorChanged.py

Modified: lldb/trunk/test/functionalities/inferior-changed/TestInferiorChanged.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inferior-changed/TestInferiorChanged.py?rev=170619&r1=170618&r2=170619&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inferior-changed/TestInferiorChanged.py (original)
+++ lldb/trunk/test/functionalities/inferior-changed/TestInferiorChanged.py Wed Dec 19 18:19:27 2012
@@ -21,6 +21,7 @@
         self.setTearDownCleanup(dictionary=d)
         self.inferior_not_crashing()
 
+    @expectedFailureLinux # bugzilla 14662 - POSIX dynamic loader asserts on re-launch
     def test_inferior_crashing_dwarf(self):
         """Test lldb reloads the inferior after it was changed during the session."""
         self.buildDwarf()
@@ -45,11 +46,13 @@
 
         self.runCmd("run", RUN_SUCCEEDED)
 
+        # FIXME: This expected stop reason is Darwin-specific
         # The stop reason of the thread should be a bad access exception.
         self.expect("thread list", STOPPED_DUE_TO_EXC_BAD_ACCESS,
             substrs = ['stopped',
                        'stop reason = EXC_BAD_ACCESS'])
 
+        # FIXME: This expected stop reason is Darwin-specific
         # And it should report the correct line number.
         self.expect("thread backtrace all",
             substrs = ['stop reason = EXC_BAD_ACCESS',
@@ -61,6 +64,7 @@
         self.runCmd("run", RUN_SUCCEEDED)
         self.runCmd("process status")
 
+        # FIXME: This unexpected stop reason is Darwin-specific
         if 'EXC_BAD_ACCESS' in self.res.GetOutput():
             self.fail("Inferior changed, but lldb did not perform a reload")
 





More information about the lldb-commits mailing list