[lldb-dev] lldb tests w/CMake+OSX

Vince Harron vharron at google.com
Wed Jan 14 11:44:52 PST 2015


Totally understood and agreed.  But someone asked me to fix an issue in the
CMake build files and I want to make sure that the binaries actually work =)


On Wed, Jan 14, 2015 at 11:41 AM, Greg Clayton <gclayton at apple.com> wrote:

> The correct way to test is to use the Xcode build.
>
> The Xcode build can be done from the command line:
>
> % cd lldb
> % xcodebuild -configuration Release -target lldb-tool
> % cd test
> % ./dotest.py
>
>
> > On Jan 14, 2015, at 11:09 AM, Vince Harron <vharron at google.com> wrote:
> >
> > Hi all,
> >
> > Does anyone know if it is possible to successfully run the lldb unit
> tests on OSX from a CMake build?
> >
> > This is what I do to run the tests after an Xcode build:
> >
> > ROOT_DIR=$HOME/ll/svn
> > LLDB_CONFIG=Debug
> > LLDB_BIN=$ROOT_DIR/lldb/DerivedData/lldb/Build/Products/$LLDB_CONFIG
> > PYTHONPATH="$LLDB_BIN/LLDB.framework/Versions/A/Resources/Python"
> > DOTEST_OPTS="--executable $LLDB_BIN/lldb --framework
> $LLDB_BIN/LLDB.framework  -A x86_64 -C clang -s
> $ROOT_DIR/lldb/DerivedData/lldb-test-results"
> >
> > cd $ROOT_DIR/lldb/test
> > ./dosep.py --options "$DOTEST_OPTS"
> >
> >
> > But the CMake build doesn't generate a --framework so I'm not sure what
> to do.
> >
> > Vince
> >
> >
> > --
> >
> > Vince Harron |         Technical Lead Manager |
> vharron at google.com |    858-442-0868
> >
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>


-- 

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-dev/attachments/20150114/71d2944f/attachment.html>


More information about the lldb-dev mailing list