[Lldb-commits] [lldb] r230466 - Fix ImportError in lldb-mi tests on Linux

Ilia K ki.stfu at gmail.com
Tue Mar 10 09:43:45 PDT 2015


Hello Vince,

I prepared review for this. Take a look please:
http://reviews.llvm.org/D8207

Thanks,
Ilia

On Thu, Mar 5, 2015 at 5:41 AM, Vince Harron <vharron at google.com> wrote:

> Looks good.
>
> On Wed, Mar 4, 2015 at 9:45 AM, Ilia K <ki.stfu at gmail.com> wrote:
>
>> Vince,
>>
>> How you think?
>>
>> Thanks,
>> Ilia
>>
>> On Fri, Feb 27, 2015 at 8:06 AM, Ilia K <ki.stfu at gmail.com> wrote:
>>
>>> Hello Vince,
>>>
>>> Sorry for delay. We can add lldb-mi folder to PATH in dotest.py (by
>>> default) and then we be able to roll back these changes. It will look like:
>>>
>>>> Index: test/dotest.py
>>>>
>>> ===================================================================
>>>
>>> --- test/dotest.py      (revision 230655)
>>>
>>> +++ test/dotest.py      (working copy)
>>>
>>> @@ -932,14 +932,16 @@
>>>
>>>
>>>>      pluginPath = os.path.join(scriptPath, 'plugins')
>>>
>>>      pexpectPath = os.path.join(scriptPath, 'pexpect-2.4')
>>>
>>> +    toolsLldbMiPath = os.path.join(scriptPath, 'tools', 'lldb-mi')
>>>
>>>
>>>>      # Put embedded pexpect at front of the load path so we ensure we
>>>
>>>      # use that version.
>>>
>>>      sys.path.insert(0, pexpectPath)
>>>
>>>
>>>> -    # Append script dir and plugin dir to the sys.path.
>>>
>>> +    # Append script dir, plugin dir and lldb-mi dir to the sys.path.
>>>
>>>      sys.path.append(scriptPath)
>>>
>>>      sys.path.append(pluginPath)
>>>
>>> +    sys.path.append(toolsLldbMiPath)
>>>
>>>
>>>>      # This is our base name component.
>>>
>>>      base = os.path.abspath(os.path.join(scriptPath, os.pardir))
>>>
>>>
>>> Does it look better?
>>>
>>> Thanks,
>>> Ilia
>>>
>>>
>>> On Wed, Feb 25, 2015 at 3:18 PM, Vince Harron <vharron at google.com>
>>> wrote:
>>>
>>>> Is it possible to have the application search for the needed binaries
>>>> in specific locations instead of requiring the user to add them to the path?
>>>>
>>>
>>>
>>
>
>
> --
>
> Vince Harron | Technical Lead Manager | vharron at google.com | 858-442-0868
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150310/25acfa12/attachment.html>


More information about the lldb-commits mailing list