<div dir="ltr">I run tests on Windows and if something is wrong then I definitely want to fix it. <div><br></div><div>That said, I've never seen these particular failures before. I will say that the test suite only passes about 50% on Windows, but at the end you will see a lot of failures. But they won't be these failures, they will be actual test failures like couldn't set a watchpoint.<br><div><br></div><div>One thing that seems suspicious to me from looking at your command line is that, although you appear to have built python from source (which is correct), LLDB is finding a *release* version of Python. If you are building a Debug version of LLDB, this won't work. LLDB needs to find a debug version of python. I don't think that's the actual issue you're experiencing here though, but it might be. To fix this I recommend explicitly specifying both PYTHON_EXECUTABLE, PYTHON_LIBRARY, and PYTHON_INCLUDE_DIR on your CMake command line.</div><div><br></div><div>The next thing I would do is add a line to dosep.py that prints out the command line it uses for dotest.py. dosep.py is a lightweight shim that just spawns many instances of dotest.py in different processes, and it <span style="font-size:13.1999998092651px;line-height:19.7999992370605px">seems to be forming the command line incorrectly. </span><span style="line-height:1.5;font-size:13.1999998092651px">So the key is going to see what command line it's using for dotest.py.</span></div></div><div><span style="line-height:1.5;font-size:13.1999998092651px"><br></span></div><div><span style="line-height:1.5;font-size:13.1999998092651px">What version of Windows are you using if I might ask? And are you running it from a cmd prompt or a Powershell prompt?</span></div></div><br><div class="gmail_quote">On Thu, Mar 19, 2015 at 4:31 PM Chuck Ries <<a href="mailto:Chuck.Ries@microsoft.com">Chuck.Ries@microsoft.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Does anybody run tests on Windows? I was able to build lldb on windows using cmake + ninja by following the instructions at
<a href="http://lldb.llvm.org/build.html#BuildingLldbOnWindows" target="_blank">http://lldb.llvm.org/build.html#BuildingLldbOnWindows</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Running nina check-lldb however fails:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[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""<u></u><u></u></p>
<p class="MsoNormal">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""<u></u><u></u></p>
<p class="MsoNormal">usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-X directory] [-G category] [--skip-category category]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-c config-file] [--framework framework-path]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--executable executable-path] [--libcxx directory]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-x breakpoint-spec] [-y count] [-# sharp]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-name platform-name] [--platform-url platform-url]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-working-dir platform-working-dir] [-d] [-F] [-i]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [test-dir [test-dir ...]]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">dotest.py: error: unrecognized arguments: c:\Users\chuckr\source\llvm\tools\lldb\test\api\check_public_api_headers<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-X directory] [-G category] [--skip-category category]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-c config-file] [--framework framework-path]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--executable executable-path] [--libcxx directory]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-x breakpoint-spec] [-y count] [-# sharp]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-name platform-name] [--platform-url platform-url]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-working-dir platform-working-dir] [-d] [-F] [-i]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [test-dir [test-dir ...]]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">dotest.py: error: unrecognized arguments: c:\Users\chuckr\source\llvm\tools\lldb\test\functionalities\breakpoint\cpp<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-X directory] [-G category] [--skip-category category]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-c config-file] [--framework framework-path]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--executable executable-path] [--libcxx directory]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-x breakpoint-spec] [-y count] [-# sharp]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-name platform-name] [--platform-url platform-url]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-working-dir platform-working-dir] [-d] [-F] [-i]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [test-dir [test-dir ...]]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">dotest.py: error: unrecognized arguments: c:\Users\chuckr\source\llvm\tools\lldb\test\expression_command\persistent_types<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-X directory] [-G category] [--skip-category category]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-c config-file] [--framework framework-path]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--executable executable-path] [--libcxx directory]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-x breakpoint-spec] [-y count] [-# sharp]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-name platform-name] [--platform-url platform-url]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-working-dir platform-working-dir] [-d] [-F] [-i]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [test-dir [test-dir ...]]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">dotest.py: error: unrecognized arguments: c:\Users\chuckr\source\llvm\tools\lldb\test\functionalities\data-formatter\data-formatter-enum-format<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">usage: dotest.py [-h] [-A arch] [-C compiler] [-E extra-flags] [-D]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-N {dwarf,dsym}] [-a] [+a] [+b] [-b blacklist]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-f filterspec] [-g] [-l] [-m] [+m] [-p pattern]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-X directory] [-G category] [--skip-category category]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-c config-file] [--framework framework-path]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--executable executable-path] [--libcxx directory]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-e benchmark-exe] [-k command] [-R dir] [-r dir] [-s name]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-x breakpoint-spec] [-y count] [-# sharp]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-name platform-name] [--platform-url platform-url]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [--platform-working-dir platform-working-dir] [-d] [-F] [-i]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-n] [-P] [-q] [-S] [-t] [-u variable] [--env variable] [-v]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [-w] [-T] [--enable-crash-dialog] [--show-inferior-console]<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"> [test-dir [test-dir ...]]<u></u><u></u></p>
<p class="MsoNormal">……<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
______________________________<u></u>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
</blockquote></div>