[lldb-dev] Running tests on windows?

Chuck Ries Chuck.Ries at microsoft.com
Thu Mar 19 16:29:08 PDT 2015


Does anybody run tests on Windows? I was able to build lldb on windows using cmake + ninja by following the instructions at http://lldb.llvm.org/build.html#BuildingLldbOnWindows

Running nina check-lldb however fails:

[1/1] cmd.exe /C "cd /D C:\Users\chuckr\source\build_llvm_debug\tools\lldb\test && C:\Users\chuckr\source\Python-2.7.8\PCbuild\python.exe c:/Users/chuckr/source/llvm/tools/lldb/test/dosep.py -o "-q --arch=i686 --executable C:/Users/chuckr/source/build_llvm_debug/bin/lldb.exe -s C:/Users/chuckr/source/build_llvm_debug/lldb-test-traces -u CXXFLAGS -u CFLAGS -C C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe""
FAILED: cmd.exe /C "cd /D C:\Users\chuckr\source\build_llvm_debug\tools\lldb\test && C:\Users\chuckr\source\Python-2.7.8\PCbuild\python.exe c:/Users/chuckr/source/llvm/tools/lldb/test/dosep.py -o "-q --arch=i686 --executable C:/Users/chuckr/source/build_llvm_debug/bin/lldb.exe -s C:/Users/chuckr/source/build_llvm_debug/lldb-test-traces -u CXXFLAGS -u CFLAGS -C C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe""
usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]
                 [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]
                 [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]
                 [-X directory] [-G category] [--skip-category category]
                 [-c config-file] [--framework framework-path]
                 [--executable executable-path] [--libcxx directory]
                 [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]
                 [-x breakpoint-spec] [-y count] [-# sharp]
                 [--platform-name platform-name] [--platform-url platform-url]
                 [--platform-working-dir platform-working-dir] [-d] [-F] [-i]
                 [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]
                 [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]
                 [test-dir [test-dir ...]]
dotest.py: error: unrecognized arguments: c:\Users\chuckr\source\llvm\tools\lldb\test\api\check_public_api_headers
usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]
                 [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]
                 [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]
                 [-X directory] [-G category] [--skip-category category]
                 [-c config-file] [--framework framework-path]
                 [--executable executable-path] [--libcxx directory]
                 [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]
                 [-x breakpoint-spec] [-y count] [-# sharp]
                 [--platform-name platform-name] [--platform-url platform-url]
                 [--platform-working-dir platform-working-dir] [-d] [-F] [-i]
                 [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]
                 [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]
                 [test-dir [test-dir ...]]
dotest.py: error: unrecognized arguments: c:\Users\chuckr\source\llvm\tools\lldb\test\functionalities\breakpoint\cpp
usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]
                 [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]
                 [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]
                 [-X directory] [-G category] [--skip-category category]
                 [-c config-file] [--framework framework-path]
                 [--executable executable-path] [--libcxx directory]
                 [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]
                 [-x breakpoint-spec] [-y count] [-# sharp]
                 [--platform-name platform-name] [--platform-url platform-url]
                 [--platform-working-dir platform-working-dir] [-d] [-F] [-i]
                 [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]
                 [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]
                 [test-dir [test-dir ...]]
dotest.py: error: unrecognized arguments: c:\Users\chuckr\source\llvm\tools\lldb\test\expression_command\persistent_types
usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]
                 [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]
                 [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]
                 [-X directory] [-G category] [--skip-category category]
                 [-c config-file] [--framework framework-path]
                 [--executable executable-path] [--libcxx directory]
                 [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]
                 [-x breakpoint-spec] [-y count] [-# sharp]
                 [--platform-name platform-name] [--platform-url platform-url]
                 [--platform-working-dir platform-working-dir] [-d] [-F] [-i]
                 [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]
                 [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]
                 [test-dir [test-dir ...]]
dotest.py: error: unrecognized arguments: c:\Users\chuckr\source\llvm\tools\lldb\test\functionalities\data-formatter\data-formatter-enum-format
usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]
                 [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]
                 [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]
                 [-X directory] [-G category] [--skip-category category]
                 [-c config-file] [--framework framework-path]
                 [--executable executable-path] [--libcxx directory]
                 [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]
                 [-x breakpoint-spec] [-y count] [-# sharp]
                 [--platform-name platform-name] [--platform-url platform-url]
                 [--platform-working-dir platform-working-dir] [-d] [-F] [-i]
                 [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]
                 [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]
                 [test-dir [test-dir ...]]
......


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150319/cfe60787/attachment.html>


More information about the lldb-dev mailing list