forked from OSchip/llvm-project
Fix MI notification test case on Linux.
This test case was checking for a specific stop reason which is different on Linux. This caused the test to fail. It now only checks for stoppped. Also added some more steps to run to main so that we dont pass when application has run to completion. llvm-svn: 228584
This commit is contained in:
parent
b5cbe0100f
commit
e372bda60f
|
@ -63,7 +63,14 @@ class MiNotificationTestCase(lldbmi_testcase.MiTestCaseBase):
|
|||
self.expect("\^done")
|
||||
|
||||
# Test that *stopped is printed
|
||||
self.expect("\*stopped,reason=\"signal-received\",signal=\"17\",stopped-threads=\"all\"")
|
||||
self.expect("\*stopped.*")
|
||||
|
||||
# Run to main to make sure we have not exited the application
|
||||
self.runCmd("-break-insert -f main")
|
||||
self.expect("\^done,bkpt={number=\"1\"")
|
||||
self.runCmd("-exec-continue")
|
||||
self.expect("\^running")
|
||||
self.expect("\*stopped,reason=\"breakpoint-hit\"")
|
||||
|
||||
@lldbmi_test
|
||||
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
|
||||
|
|
Loading…
Reference in New Issue