summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-11-24 15:54:15 +0000
committerPavel Labath <labath@google.com>2016-11-24 15:54:15 +0000
commit0143bdb8710dac3fb29f521baa81522fa75fdb6f (patch)
treef8e6ea358acbb17df166854697d19857e0a0c09b /lldb/packages/Python/lldbsuite
parentebac56ebb0513e343568a58a0a59163caf8cf57d (diff)
downloadbcm5719-llvm-0143bdb8710dac3fb29f521baa81522fa75fdb6f.tar.gz
bcm5719-llvm-0143bdb8710dac3fb29f521baa81522fa75fdb6f.zip
Fix TestMiExec.test_lldbmi_exec_next_instruction
The line numbers come out slightly differently when the test is run with gcc-4.9 as a compiler. The test probably should not depend on that, but that is a different story. llvm-svn: 287893
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py
index 2fe5aca8ff1..354f955b747 100644
--- a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py
+++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py
@@ -252,7 +252,7 @@ class MiExecTestCase(lldbmi_testcase.MiTestCaseBase):
self.expect("\^running")
# Depending on compiler, it can stop at different line
self.expect(
- "\*stopped,reason=\"end-stepping-range\".+?main\.cpp\",line=\"(29|30)\"")
+ "\*stopped,reason=\"end-stepping-range\".+?main\.cpp\",line=\"(28|29|30)\"")
# Test that both --thread and --frame are optional
self.runCmd("-exec-next-instruction")
OpenPOWER on IntegriCloud