[lldb-dev] lldb-gtest scheme and target added to Xcode project

Todd Fiala via lldb-dev lldb-dev at lists.llvm.org
Mon Oct 26 10:09:16 PDT 2015


Yes, they do.

On Mon, Oct 26, 2015 at 9:34 AM, Zachary Turner <zturner at google.com> wrote:

> Nice!  Out of curiosity, do all the unittests pass?  (I expect they do, as
> they do everywhere else, just wondering)
>
> On Sun, Oct 25, 2015 at 2:57 PM Todd Fiala via lldb-dev <
> lldb-dev at lists.llvm.org> wrote:
>
>> This should be fixed with:
>> $ svn commit
>> unittests/Editline/CMakeLists.txt
>> Transmitting file data .
>> Committed revision 251264.
>>
>> On Sun, Oct 25, 2015 at 2:55 PM, Todd Fiala <todd.fiala at gmail.com> wrote:
>>
>>> Okay this broke the cmake Linux build.  I'm fixing that now...
>>>
>>> On Sun, Oct 25, 2015 at 2:49 PM, Todd Fiala <todd.fiala at gmail.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I've taken a stab at getting the gtests in lldb/unittests to compile
>>>> and run on Xcode.  I just checked this in.  There's a new scheme called
>>>> lldb-gtest.  If you run that in Xcode, it should build the DebugClang
>>>> variant of lldb and link against the gtest libraries that come with clang.
>>>> The output goes out to the console when run.
>>>>
>>>> I don't currently have this hooked into any kind of aggregate target
>>>> yet.  I want to make sure this works everywhere and doesn't break anything
>>>> before I make anything depend on it.
>>>>
>>>> I used a public OS X (10.11) and public Xcode (7.1, released this past
>>>> week) to do the changes.  Please let me know if you use Xcode and if you
>>>> find that this target breaks (perhaps with an older version of Xcode).
>>>>
>>>> I put in a placeholder do-nothing gtest for our Editline code,
>>>> partially as a canary to see if I break any of the build bots.  I'll be
>>>> adding some code there as soon as I know that I plugged it in right on the
>>>> cmake side.
>>>>
>>>> Thanks!
>>>> --
>>>> -Todd
>>>>
>>>
>>>
>>>
>>> --
>>> -Todd
>>>
>>
>>
>>
>> --
>> -Todd
>> _______________________________________________
>> lldb-dev mailing list
>> lldb-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>>
>


-- 
-Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20151026/1e508638/attachment.html>


More information about the lldb-dev mailing list