summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia K <ki.stfu@gmail.com>2015-02-24 10:34:34 +0000
committerIlia K <ki.stfu@gmail.com>2015-02-24 10:34:34 +0000
commit327b6f59424b8031f87917f39ac40bbac2c67ea0 (patch)
tree19f63105b8fb3aa8e6fb72880d093e3b401b5e52
parent912800c4006eb0caa6407fd8278f7292f617d378 (diff)
downloadbcm5719-llvm-327b6f59424b8031f87917f39ac40bbac2c67ea0.tar.gz
bcm5719-llvm-327b6f59424b8031f87917f39ac40bbac2c67ea0.zip
Fix MiSignalTestCase.test_lldbmi_stopped_when_stopatentry_xxx tests after r230237
llvm-svn: 230320
-rw-r--r--lldb/test/tools/lldb-mi/signal/TestMiSignal.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/lldb/test/tools/lldb-mi/signal/TestMiSignal.py b/lldb/test/tools/lldb-mi/signal/TestMiSignal.py
index ff46fa136bd..43e34df2583 100644
--- a/lldb/test/tools/lldb-mi/signal/TestMiSignal.py
+++ b/lldb/test/tools/lldb-mi/signal/TestMiSignal.py
@@ -64,11 +64,8 @@ class MiSignalTestCase(lldbmi_testcase.MiTestCaseBase):
self.expect("\^done")
# Test that *stopped is printed
- # Note that message is different in Darwin and Linux:
- # Darwin: "*stopped,reason=\"signal-received\",signal=\"17\",thread-id=\"1\",stopped-threads=\"all\""
- # Linux: "*stopped,reason=\"end-stepping-range\",frame={addr=\"0x[0-9a-f]+\",func=\"??\",args=\[\],file=\"??\",fullname=\"??\",line=\"-1\"},thread-id=\"1\",stopped-threads=\"all\"
- self.expect("\*stopped,reason=\"(signal-received|end-stepping-range)\",.+,thread-id=\"1\",stopped-threads=\"all\"")
-
+ self.expect("\*stopped,reason=\"signal-received\",signal-name=\"SIGINT\",signal-meaning=\"Interrupt\",.*thread-id=\"1\",stopped-threads=\"all\"")
+
# Run to main to make sure we have not exited the application
self.runCmd("-break-insert -f main")
self.expect("\^done,bkpt={number=\"1\"")
@@ -112,7 +109,7 @@ class MiSignalTestCase(lldbmi_testcase.MiTestCaseBase):
self.expect("\^done")
# Test that *stopped is printed
- self.expect("\*stopped,reason=\"signal-received\",signal=\"17\",thread-id=\"1\",stopped-threads=\"all\"")
+ self.expect("\*stopped,reason=\"signal-received\",signal-name=\"SIGINT\",signal-meaning=\"Interrupt\",.*thread-id=\"1\",stopped-threads=\"all\"")
# Exit
self.runCmd("-gdb-exit")
OpenPOWER on IntegriCloud