[Lldb-commits] [PATCH] MI support for '-var-create $regname' command.

Ewan Crawford ewan at codeplay.com
Fri Apr 17 09:41:43 PDT 2015


Test looks like it still fails, need to change
self.expect("\^done,value=\"0x0000000000000006\"")
to self.expect("\^done,value=\"0x00000006\"") for 32 bit.

Best,
  Ewan

On 17/04/2015 16:49, Ilia K wrote:
> Oops.. done:
> $ svn ci
> Sending        test/tools/lldb-mi/variable/TestMiVar.py
> Transmitting file data .
> Committed revision 235197.
>
> Thanks,
> Ilia
>
> On Fri, Apr 17, 2015 at 6:39 PM, Pavel Labath <labath at google.com 
> <mailto:labath at google.com>> wrote:
>
>     This test is failing on Linux i386.
>
>     http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/1755
>
>     ======================================================================
>       ERROR: test_lldbmi_var_create_register (TestMiVar.MiVarTestCase)
>          Test that 'lldb-mi --interpreter' works for -var-create $regname.
>     ----------------------------------------------------------------------
>       Traceback (most recent call last):
>         File
>     "/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
>     line 447, in wrapper
>           return func(self, *args, **kwargs)
>         File
>     "/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/lldbtest.py",
>     line 562, in wrapper
>           func(*args, **kwargs)
>         File
>     "/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/tools/lldb-mi/variable/TestMiVar.py",
>     line 215, in test_lldbmi_var_create_register
>     self.expect("\^done,name=\"var_reg\",numchild=\"0\",value=\"0x[0-9a-f]+\",type=\"unsigned
>     long\",thread-id=\"1\",has_more=\"0\"")
>         File
>     "/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/tools/lldb-mi/lldbmi_testcase.py",
>     line 46, in expect
>           return self.child.expect(pattern, *args, **kwargs)
>         File
>     "/lldb-buildbot/lldbSlave/buildWorkingDir/llvm/tools/lldb/test/pexpect-2.4/pexpect.py",
>     line 1316, in expect
>           return self.expect_list(compiled_pattern_list, timeout,
>     searchwindowsize)
>         File
>     "/lldb-buildbot/lldbSlave/buildWorkingDir/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
>     "/lldb-buildbot/lldbSlave/buildWorkingDir/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().
>
>     Could you fix/revert/XFAIL, please?
>
>
>     REPOSITORY
>       rL LLVM
>
>     http://reviews.llvm.org/D8965
>
>     EMAIL PREFERENCES
>     http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>

-- 
Ewan Crawford
Codeplay Software Ltd
45 York Place, Edinburgh, EH1 3HP
Tel: 0131 466 0503
Fax: 0131 557 6600
Website: http://www.codeplay.com
Twitter: https://twitter.com/codeplaysoft

This email and any attachments may contain confidential and /or privileged information and is for use by the addressee only. If you are not the intended recipient, please notify Codeplay Software Ltd immediately and delete the message from your computer. You may not copy or forward it,or use or disclose its contents to any other person. Any views or other information in this message which do not relate to our business are not authorized by Codeplay software Ltd, nor does this message form part of any contract unless so stated.
As internet communications are capable of data corruption Codeplay Software Ltd does not accept any responsibility for any changes made to this message after it was sent. Please note that Codeplay Software Ltd does not accept any liability or responsibility for viruses and it is your responsibility to scan any attachments.
Company registered in England and Wales, number: 04567874
Registered office: 81 Linkfield Street, Redhill RH1 6BY

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150417/7cabd416/attachment.html>


More information about the lldb-commits mailing list