[Lldb-commits] [PATCH] Fix the variable printing for stack-list-local and stack-list-arguments.

Ilia K ki.stfu at gmail.com
Fri Feb 13 03:06:09 PST 2015


MiExecTestCase.test_lldbmi_exec_step_instruction failed:

  ======================================================================
  ERROR: test_lldbmi_exec_step_instruction (TestMiExec.MiExecTestCase)
      Test that 'lldb-mi --interpreter' works for instruction stepping into.
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 422, in wrapper
      return func(self, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 537, in wrapper
      func(*args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/tools/lldb-mi/TestMiExec.py", line 333, in test_lldbmi_exec_step_instruction
      self.expect("\*stopped,reason=\"end-stepping-range\".*main.c\",line=\"22\"")
    File "/Users/IliaK/p/llvm/tools/lldb/test/tools/lldb-mi/lldbmi_testcase.py", line 43, in expect
      return self.child.expect(pattern, *args, **kwargs)
    File "/Users/IliaK/p/llvm/tools/lldb/test/pexpect-2.4/pexpect.py", line 1316, in expect
      return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
    File "/Users/IliaK/p/llvm/tools/lldb/test/pexpect-2.4/pexpect.py", line 1330, in expect_list
      return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
    File "/Users/IliaK/p/llvm/tools/lldb/test/pexpect-2.4/pexpect.py", line 1414, in expect_loop
      raise TIMEOUT (str(e) + '\n' + str(self))
  TIMEOUT: Timeout exceeded in read_nonblocking().
  <pexpect.spawn object at 0x10f3868d0>
  version: 2.4 ($Revision: 516 $)
  command: /Users/IliaK/p/llvm/build_ninja/bin/lldb-mi
  args: ['/Users/IliaK/p/llvm/build_ninja/bin/lldb-mi', '--interpreter']
  searcher: searcher_re:
      0: re.compile("\*stopped,reason="end-stepping-range".*main.c",line="22"")
  buffer (last 100 chars): p/llvm/tools/lldb/test/tools/lldb-mi/main.c",line="24"},thread-id="1",stopped-threads="all"
  (gdb)


================
Comment at: test/tools/lldb-mi/TestMiExec.py:333
@@ -332,3 +332,3 @@
         self.expect("\^running")
         self.expect("\*stopped,reason=\"end-stepping-range\".*main.c\",line=\"22\"")
 
----------------
on OS X it should be:
```
self.expect("\*stopped,reason=\"end-stepping-range\".*main.c\",line=\"24\"")
```

================
Comment at: test/tools/lldb-mi/TestMiExec.py:339
@@ -338,3 +338,3 @@
         self.expect("\^running")
         self.expect("\*stopped,reason=\"end-stepping-range\".*main.c\",line=\"22\"")
 
----------------
on OS X it should be:
```
self.expect("\*stopped,reason=\"end-stepping-range\".*main.c\",line=\"24\"")
```

http://reviews.llvm.org/D7589

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list