[Lldb-commits] [PATCH] Skip lldb-mi tests on FreeBSD for now

dawn at burble.org dawn at burble.org
Tue Feb 24 01:23:34 PST 2015


On Tue, Feb 24, 2015 at 12:35:28AM -0500, Vince Harron wrote:
> 
> Thanks for your reply.  I'm getting a bunch of failures on Linux/OSX
> platforms when running the lldb-mi tests.  All three Linux buildbots are
> showing failures.

How are you building lldb-mi and running the tests on OSX?  I haven't
tried lldb-mi on Linux, but all lldb-mi tests pass on OSX (except for 1 new
error which started today - the committer was notified).

> http://lab.llvm.org:8011/builders/lldb-x86_64-debian-clang/builds/3701
> http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.10/builds/923
> (scroll to the bottom)
> http://lab.llvm.org:8011/builders/lldb-x86_64-ubuntu-14.04-cmake/builds/216/steps/test%20lldb/logs/stdio
[...] 
> Please fix these failures ASAP or skip/xfail if it's going to take more
> than a few hours.  I'd appreciate if you kept an eye on the buildbots as
> well.

will try...

> Can you send me a script I can use to build and run tests on Linux and/or
> OSX?

On OSX, check out a tree with lldb and clang in ~/llvm/tools, then do:
    cd ~/llvm/build_ninja
    cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug "-DLLVM_TARGETS_TO_BUILD=ARM;X86;AArch64" -DCMAKE_CXX_FLAGS="-std=c++0x -stdlib=libc++"
    ninja lldb
    cd ~/llvm/tools/lldb/test
    export LLDB_EXEC=~/llvm/build_ninja/bin/lldb
    ./dotest.py -v --executable $LLDB_EXEC

Does this work on Linux?  What do the official Linux buildbots run - how are
they setup?  I can send the full script we use on Jenkins for OSX if interested,
although the actual Jenkins setup was a bit of a nightmare.  Linux should be a
breeze in comparison.



More information about the lldb-commits mailing list