[Lldb-commits] [lldb] r228932 - Fix the test on Linux.

Hafiz Abid Qadeer hafiz_abid at mentor.com
Thu Feb 12 08:06:03 PST 2015


Author: abidh
Date: Thu Feb 12 10:06:03 2015
New Revision: 228932

URL: http://llvm.org/viewvc/llvm-project?rev=228932&view=rev
Log:
Fix the test on Linux.

The exception name that is thrown in Linux is different.
I have |ed it to the already existing one.


Modified:
    lldb/trunk/test/tools/lldb-mi/TestMiNotification.py

Modified: lldb/trunk/test/tools/lldb-mi/TestMiNotification.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-mi/TestMiNotification.py?rev=228932&r1=228931&r2=228932&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-mi/TestMiNotification.py (original)
+++ lldb/trunk/test/tools/lldb-mi/TestMiNotification.py Thu Feb 12 10:06:03 2015
@@ -146,7 +146,7 @@ class MiNotificationTestCase(lldbmi_test
         self.expect("\^running")
 
         # Test that *stopped is printed
-        self.expect("\*stopped,reason=\"exception-received\",exception=\"EXC_BAD_ACCESS \(code=1, address=0x0\)\",thread-id=\"1\",stopped-threads=\"all\"")
+        self.expect("\*stopped,reason=\"exception-received\",exception=\"(EXC_BAD_ACCESS \(code=1, address=0x0\)|invalid address \(fault address: 0x0\))\",thread-id=\"1\",stopped-threads=\"all\"")
 
     @lldbmi_test
     @expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")





More information about the lldb-commits mailing list