[Lldb-commits] [PATCH] Make lldb -P work on Windows

Zachary Turner zturner at google.com
Fri Jul 18 11:38:53 PDT 2014


Thanks, good catch.  Can you confirm that it works without that?  If so
I'll make the necessary adjustment locally but no need to re-upload a new
patch since it's so simple.


On Fri, Jul 18, 2014 at 11:37 AM, Todd Fiala <tfiala at google.com> wrote:

> Typo:
>
> >  for expect on MacOSX to be able to load pexpect.
>
> for the *lldb tests *on MacOSX to be able to load pexpect.
>
>
> On Fri, Jul 18, 2014 at 11:36 AM, Todd Fiala <tfiala at google.com> wrote:
>
>> Ok definitely related to changes in test/dotest.py.
>>
>> Let me see if I can adjust that. The key is you’re nuking the custom
>> pexpect-2.4 path, which is absolutely needed for expect on MacOSX to be
>> able to load pexpect.
>>
>> I think if you don’t nuke this part:
>>
>> ===================================================================--- test/dotest.py    (revision 213388)+++ test/dotest.py    (working copy)@@ -883,12 +883,7 @@
>>
>>      os.environ["LLDB_SRC"] = os.path.join(sys.path[0], os.pardir)
>>
>>      pluginPath = os.path.join(scriptPath, 'plugins')-    pexpectPath = os.path.join(scriptPath, 'pexpect-2.4')
>> -    # 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.
>>      sys.path.append(scriptPath)
>>      sys.path.append(pluginPath)
>>
>> everything would probably be fine.
>>>>
>>
>> On Fri, Jul 18, 2014 at 11:32 AM, Todd Fiala <tfiala at google.com> wrote:
>>
>>> Oh it has to do with the pexpect (embedded - needs to show up in
>>> pythonpath) not being found on MacOSX.
>>>
>>> (I think pexpect comes embedded on most Linux distros, so wouldn't show
>>> up there).
>>>
>>> Let me see what went wrong.  We use the pexpect  from the lldb/test dir
>>> usually.
>>>
>>>
>>> On Fri, Jul 18, 2014 at 11:28 AM, Todd Fiala <tfiala at google.com> wrote:
>>>
>>>> Hmm, so I need to investigate but right now all the tests are failing
>>>> on MacOSX with this change.
>>>>
>>>> I'm going to reverse it out and make sure something isn't whack on my
>>>> laptop.
>>>>
>>>>
>>>> On Fri, Jul 18, 2014 at 9:33 AM, Todd Fiala <tfiala at google.com> wrote:
>>>>
>>>>> Checking on this now.
>>>>>
>>>>> http://reviews.llvm.org/D4548
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  Todd Fiala | Software Engineer |  tfiala at google.com |  650-943-3180
>>>>
>>>
>>>
>>>
>>> --
>>> Todd Fiala | Software Engineer |  tfiala at google.com |  650-943-3180
>>>
>>
>>
>>
>> --
>> Todd Fiala | Software Engineer |  tfiala at google.com |  650-943-3180
>>
>
>
>
> --
> Todd Fiala | Software Engineer |  tfiala at google.com |  650-943-3180
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140718/db1c8edd/attachment.html>


More information about the lldb-commits mailing list