Adjust an lldb-mi test to fix failure on Linux.
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>
Tue, 24 Feb 2015 17:20:43 +0000 (17:20 +0000)
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>
Tue, 24 Feb 2015 17:20:43 +0000 (17:20 +0000)
llvm-svn: 230347

lldb/test/tools/lldb-mi/signal/TestMiSignal.py

index 43e34df..0176506 100644 (file)
@@ -64,7 +64,7 @@ class MiSignalTestCase(lldbmi_testcase.MiTestCaseBase):
         self.expect("\^done")
 
         # Test that *stopped is printed
-        self.expect("\*stopped,reason=\"signal-received\",signal-name=\"SIGINT\",signal-meaning=\"Interrupt\",.*thread-id=\"1\",stopped-threads=\"all\"")
+        self.expect("\*stopped,reason=\"(signal-received\",signal-name=\"SIGINT\",signal-meaning=\"Interrupt\",.*)|(end-stepping-range\"),.*thread-id=\"1\",stopped-threads=\"all\"")
 
         # Run to main to make sure we have not exited the application
         self.runCmd("-break-insert -f main")