<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-CA" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D">Indeed, SWIG 4.0.0 does not work with LLDB, SWIG 3.0.12 is required.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D">I got into another issue, because of running on a French locale (fr-CA), the tests were throwing this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt;background:white"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#222222;mso-fareast-language:FR-CA">UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 23: invalid continuation
byte<o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span lang="EN-CA" style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#222222;mso-fareast-language:FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D">0xe9 is an accentuated ‘e’ on a Windows-1252 encoding. The error above was due to:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA">output = output + this_output.decode(</span><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:FR-CA">"utf-8"</span><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:black;mso-fareast-language:FR-CA">)
# </span><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">in lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D">I had to change the default locale to ‘en_US’ using:
</span><a href="https://java.com/en/download/help/locale.xml"><span lang="EN-CA">https://java.com/en/download/help/locale.xml</span></a><span lang="EN-CA" style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D">However just FYI, there are still 3 tests failing. I am running a clean checkout on r362268. Assertions are enabled.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">F:\svn>ninja check-lldb -C buildninja<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">ninja: Entering directory `buildninja'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[0/2422] Building native llvm-tblgen...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">ninja: no work to do.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[1/807] Building native clang-tblgen...<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">ninja: no work to do.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[3/38] Generating VCSVersion.inc<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">-- Found Subversion: C:/Program Files/TortoiseSVN/bin/svn.exe (found version "1.11.1")<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[4/8] Python script sym-linking LLDB Python API<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Making symlink from ..\..\..\bin\liblldb.dll to f:\svn\buildninja\.\lib\site-packages\lldb\_lldb.pyd<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Making symlink from ..\..\..\bin\lldb-argdumper.exe to f:\svn\buildninja\.\lib\site-packages\lldb\lldb-argdumper.exe<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[7/8] Running lldb lit test suite<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">llvm-lit.py: F:/svn/llvm\utils\lit\lit\llvm\config.py:340: note: using clang: f:\svn\buildninja\bin\clang.exe<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">llvm-lit.py: F:/svn/llvm\utils\lit\lit\llvm\config.py:340: note: using ld.lld: f:\svn\buildninja\bin\ld.lld.exe<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">llvm-lit.py: F:/svn/llvm\utils\lit\lit\llvm\config.py:340: note: using lld-link: f:\svn\buildninja\bin\lld-link.exe<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">llvm-lit.py: F:/svn/llvm\utils\lit\lit\llvm\config.py:340: note: using ld64.lld: f:\svn\buildninja\bin\ld64.lld.exe<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">llvm-lit.py: F:/svn/llvm\utils\lit\lit\llvm\config.py:340: note: using wasm-ld: f:\svn\buildninja\bin\wasm-ld.exe<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">-- Testing: 1669 tests, 12 threads --<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Testing: 0 .. 10.. 20..<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">UNRESOLVED: lldb-Suite :: functionalities/platform/TestPlatformCommand.py (520 of 1669)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">******************** TEST 'lldb-Suite :: functionalities/platform/TestPlatformCommand.py' FAILED ********************<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Unable to find 'RESULT: PASSED' in dotest output:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">lldb version 9.0.0 (<a href="https://aganea@llvm.org/svn/llvm-project/lldb/trunk">https://aganea@llvm.org/svn/llvm-project/lldb/trunk</a>
revision 362282)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> clang revision 362282<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> llvm revision 362282<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">A s s e r t i o n f a i l e d : !
</span><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">K e y I n f o T : : i s E q u a l ( V a l , E m p t y K e y ) & & ! K e y I n f o T : : i s E q u a l ( V a l , T o m b t o n e K e y ) & & " E m p t y / T o m b s t o
n e v a l u e s h o u l d n ' t b e i n s e r t e d i n t o m a p ! </span>
<span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">" , f i l e F : \ s v n \ l l m \ i n c l u d e \ l l v m / A D T / D e n s e M a p . h , l i n e 6 2 0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">********************<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">FAIL: lldb-Unit :: Utility/./UtilityTests.exe/StatusTest.ErrorWin32 (1477 of 1669)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">******************** TEST 'lldb-Unit :: Utility/./UtilityTests.exe/StatusTest.ErrorWin32' FAILED ********************<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Note: Google Test filter = StatusTest.ErrorWin32<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[==========] Running 1 test from 1 test case.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[----------] Global test environment set-up.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[----------] 1 test from StatusTest<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[ RUN ] StatusTest.ErrorWin32<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">F:\svn\lldb\unittests\Utility\StatusTest.cpp(69): error: Expected: "Access is denied. "<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">To be equal to: s.AsCString()<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> Which is: "Acc\xE8s refus\xE9. "<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">F:\svn\lldb\unittests\Utility\StatusTest.cpp(72): error: Expected: "Negotiation timed out "<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">To be equal to: s.AsCString()<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">
</span><span style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Which is: "Le d\xE9lai d\x92" "attente a expir\xE9 pour la n\xE9gociation "<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[ FAILED ] StatusTest.ErrorWin32 (1 ms)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[----------] 1 test from StatusTest (1 ms total)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[----------] Global test environment tear-down<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[==========] 1 test from 1 test case ran. (1 ms total)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[ PASSED ] 0 tests.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[ FAILED ] 1 test, listed below:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">[ FAILED ] StatusTest.ErrorWin32<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">1 FAILED TEST<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">********************<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">TIMEOUT: lldb-Suite :: functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py (1669 of 1669)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">******************** TEST 'lldb-Suite :: functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py' FAILED
********************<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Reached timeout of 600 seconds<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">********************<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Testing Time: 768.43s<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">********************<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Failing Tests (1):<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> lldb-Unit :: Utility/./UtilityTests.exe/StatusTest.ErrorWin32<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">********************<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Unresolved Tests (1):<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> lldb-Suite :: functionalities/platform/TestPlatformCommand.py<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">********************<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">Timed Out Tests (1):<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> lldb-Suite :: functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> Expected Passes : 1610<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> Expected Failures : 14<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> Unsupported Tests : 42<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> Unresolved Tests : 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> Unexpected Failures: 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D"> Individual Timeouts: 1<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">FAILED: tools/lldb/lit/CMakeFiles/check-lldb-lit<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">cmd.exe /C "cd /D F:\svn\buildninja\tools\lldb\lit && C:\Users\aganea\AppData\Local\Programs\Python\Python37\python.exe F:/svn/buildninja/./bin/llvm-lit.py
-sv F:/svn/buildninja/tools/lldb/lit"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="font-size:9.0pt;font-family:"Courier New";color:#1F497D">ninja: build stopped: subcommand failed.</span><span lang="EN-CA" style="color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-CA" style="mso-fareast-language:FR-CA">De :</span></b><span lang="EN-CA" style="mso-fareast-language:FR-CA"> Alex Langford <<a href="mailto:alex.langford@Oculus.com">alex.langford@Oculus.com</a>>
<br>
<b>Envoyé :</b> May 31, 2019 2:17 PM<br>
<b>À :</b> Alexandre Ganea <<a href="mailto:alexandre.ganea@ubisoft.com">alexandre.ganea@ubisoft.com</a>><br>
<b>Cc :</b> lldb-commits <<a href="mailto:lldb-commits-bounces@lists.llvm.org">lldb-commits-bounces@lists.llvm.org</a>><br>
<b>Objet :</b> Re: [lldb-dev] Trouble running Python tests on Windows<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:ZH-TW">Hey Alex,<br>
<br>
I would recommend not using SWIG 4.0.0. The last time I tried to use it, I got the exact same error you did. I would recommend SWIG 3.0.12, since that is the latest version of SWIG that I’ve been able to get working. Good luck!<br>
<br>
Alex<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:ZH-TW"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:12.0pt;color:black">From:
</span></b><span lang="EN-US" style="font-size:12.0pt;color:black">lldb-dev <</span><a href="mailto:lldb-dev-bounces@lists.llvm.org"><span lang="EN-US" style="font-size:12.0pt">lldb-dev-bounces@lists.llvm.org</span></a><span lang="EN-US" style="font-size:12.0pt;color:black">>
on behalf of Alexandre Ganea via lldb-dev <</span><a href="mailto:lldb-dev@lists.llvm.org"><span lang="EN-US" style="font-size:12.0pt">lldb-dev@lists.llvm.org</span></a><span lang="EN-US" style="font-size:12.0pt;color:black">><br>
<b>Reply-To: </b>Alexandre Ganea <</span><a href="mailto:alexandre.ganea@ubisoft.com"><span lang="EN-US" style="font-size:12.0pt">alexandre.ganea@ubisoft.com</span></a><span lang="EN-US" style="font-size:12.0pt;color:black">><br>
<b>Date: </b>Friday, May 31, 2019 at 8:42 AM<br>
<b>To: </b>"</span><a href="mailto:lldb-dev@lists.llvm.org"><span lang="EN-US" style="font-size:12.0pt">lldb-dev@lists.llvm.org</span></a><span lang="EN-US" style="font-size:12.0pt;color:black">" <</span><a href="mailto:lldb-dev@lists.llvm.org"><span lang="EN-US" style="font-size:12.0pt">lldb-dev@lists.llvm.org</span></a><span lang="EN-US" style="font-size:12.0pt;color:black">><br>
<b>Subject: </b>[lldb-dev] Trouble running Python tests on Windows<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-CA">Hi,</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">I can’t seem to run the lldb python tests on my Windows 10 setup. I use the following cmd-line to generate:</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA">cmake -G Ninja f:/svn/llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_OPTIMIZED_TABLEGEN=true -DLLVM_EXTERNAL_LLD_SOURCE_DIR=f:/svn/lld -DLLVM_EXTERNAL_CLANG_SOURCE_DIR=f:/svn/clang -DLLVM_TOOL_LLD_BUILD=true
-DLLVM_TOOL_CLANG_BUILD=true -DLLVM_ENABLE_PDB=true -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_EXTERNAL_LLDB_SOURCE_DIR=f:/svn/lldb -DLLVM_TOOL_LLDB_BUILD=true -DPYTHON_HOME="C:\Users\aganea\AppData\Local\Programs\Python\Python37"</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Followed by: ninja check-all, which ends up in a bunch of:</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA">******************** TEST 'lldb-Suite :: tools/lldb-server/TestAppleSimulatorOSType.py' FAILED ********************</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA">Unable to find 'RESULT: PASSED' in dotest output:</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA">lldb version 9.0.0 (</span><a href="https://aganea@llvm.org/svn/llvm-project/lldb/trunk"><span lang="EN-CA">https://aganea@llvm.org/svn/llvm-project/lldb/trunk</span></a><span lang="EN-CA">
revision 361826)</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> clang revision 361826</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> llvm revision 361826</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA">LLDB library dir: F:\svn\buildninja\bin</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA">LLDB import library dir: F:\svn\buildninja\bin\..\lib</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA">Traceback (most recent call last):</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> File "F:/svn/lldb/test/dotest.py", line 7, in <module></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> lldbsuite.test.run_suite()</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> File "F:\svn\lldb\packages\Python\lldbsuite\test\dotest.py", line 1243, in run_suite</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> import lldb</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> File "F:\svn\buildninja\lib\site-packages\lldb\__init__.py", line 1500, in <module></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> class SBAddress(object):</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> File "F:\svn\buildninja\lib\site-packages\lldb\__init__.py", line 1675, in SBAddress</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA"> __swig_getmethods__["module"] = GetModule</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:35.4pt"><span lang="EN-CA" style="background:yellow;mso-highlight:yellow">NameError: name '__swig_getmethods__' is not defined</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Swig 4.0.0 is there in %PATH%. I’m using MSVC 19.16.27031.1 for compiling. I’ve tried with Clang 8.0, same issues.</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Any idea on what could be missing?</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA"> </span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Thanks in advance!</span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-CA">Alex.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</body>
</html>