<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LLDB :: SymbolFile/NativePDB/globals-fundamental.cpp fails on 8.0 branch w/ LLDB_DISABLE_PYTHON"
   href="https://bugs.llvm.org/show_bug.cgi?id=41935">41935</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLDB :: SymbolFile/NativePDB/globals-fundamental.cpp fails on 8.0 branch w/ LLDB_DISABLE_PYTHON
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>8.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mgorny@gentoo.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>davide@freebsd.org, htmldeveloper@gmail.com, jdevlieghere@apple.com, labath@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Depends on</th>
          <td>41934
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>41221
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21971" name="attach_21971" title="0001-lldb-lit-Skip-globals-fundamental-test-when-Python-i.patch">attachment 21971</a> <a href="attachment.cgi?id=21971&action=edit" title="0001-lldb-lit-Skip-globals-fundamental-test-when-Python-i.patch">[details]</a></span>
0001-lldb-lit-Skip-globals-fundamental-test-when-Python-i.patch

When LLDB_DISABLE_PYTHON is set to 1, the following test fails (in addition to
tests for which backports I've requested already).

It's been fixed in trunk already via r356171.  However, that's a potentially
intrusive change, so I think it's better to just skip the test in 8.x.  I'm
attaching a patch to do so (it depends on the patches whose backports I've
already requested).


FAIL: LLDB :: SymbolFile/NativePDB/globals-fundamental.cpp (19 of 19)
******************** TEST 'LLDB ::
SymbolFile/NativePDB/globals-fundamental.cpp' FAILED ********************
Script:
--
: 'RUN: at line 5';   '/usr/bin/python2.7'
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/helper/build.py
--compiler=any --arch=64
--tools-dir=/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/./bin
--compiler=clang-cl --nodefaultlib -o
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/lit/SymbolFile/NativePDB/Output/globals-fundamental.cpp.tmp.exe
--
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp
: 'RUN: at line 6';   env LLDB_USE_NATIVE_PDB_READER=1
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/bin/lldb -S
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/lit-lldb-init -f
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/lit/SymbolFile/NativePDB/Output/globals-fundamental.cpp.tmp.exe
-s     
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/Inputs/globals-fundamental.lldbinit
| /usr/lib64/llvm/8/bin/FileCheck
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp
--
Exit Code: 1

Command Output (stdout):
--
Cleaning globals-fundamental.ilk
Cleaning globals-fundamental.cpp.tmp.exe-globals-fundamental.obj
Cleaning globals-fundamental.cpp.tmp.pdb
Cleaning globals-fundamental.cpp.tmp.exe



compiling globals-fundamental.cpp ->
globals-fundamental.cpp.tmp.exe-globals-fundamental.obj
  STDOUT:




linking globals-fundamental.cpp.tmp.exe-globals-fundamental.obj ->
globals-fundamental.cpp.tmp.exe
  STDOUT:


--
Command Output (stderr):
--
+ : 'RUN: at line 5'
+ /usr/bin/python2.7
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/helper/build.py
--compiler=any --arch=64
--tools-dir=/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/./bin
--compiler=clang-cl --nodefaultlib -o
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/lit/SymbolFile/NativePDB/Output/globals-fundamental.cpp.tmp.exe
--
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp
+ : 'RUN: at line 6'
+ env LLDB_USE_NATIVE_PDB_READER=1
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/bin/lldb -S
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/lit-lldb-init -f
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999_build/lit/SymbolFile/NativePDB/Output/globals-fundamental.cpp.tmp.exe
-s
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/Inputs/globals-fundamental.lldbinit
+ /usr/lib64/llvm/8/bin/FileCheck
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp
/var/tmp/portage/dev-util/lldb-8.0.9999/work/lldb-8.0.9999/lit/SymbolFile/NativePDB/globals-fundamental.cpp:43:16:
error: CHECK-NEXT: expected string not found in input
// CHECK-NEXT: (wchar_t) WC1 = L'1'
               ^
<stdin>:31:1: note: scanning from here
(wchar_t) WC1 = 1\0
^

--</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 8.0.1 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=41221">Bug 41221</a>] [meta] 8.0.1 Release Blockers
              </li>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Please backport r361114 to 8.0"
   href="https://bugs.llvm.org/show_bug.cgi?id=41934">Bug 41934</a>] Please backport r361114 to 8.0
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>