<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 - All tests in LinuxCoreTestCase fail on Windows"
   href="https://bugs.llvm.org/show_bug.cgi?id=37371">37371</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>All tests in LinuxCoreTestCase fail on Windows
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>stilis@microsoft.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>All the tests in LinuxCoreTestCase currently fail on Windows. Half of them were
disabled without a comment - I've disabled the rest. They are all failing in
the same way.

This was tested on Windows 10 with Visual Studio as the generator and Python 3.
The exact CMake options are:

-DPYTHON_HOME=C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64
-DCMAKE_BUILD_TYPE=release -G Visual Studio 15 2017 Win64 -Thost=x64
-DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_ENABLE_DIA_SDK=ON

Here is the log for one of the tests:

 ##[error]CUSTOMBUILD(0,0): Error : test_mips_n32
(TestLinuxCore.LinuxCoreTestCase)
 ##[debug]Processed: ##vso[task.logissue
type=Error;sourcepath=CUSTOMBUILD;linenumber=0;columnnumber=0;code=;]test_mips_n32
(TestLinuxCore.LinuxCoreTestCase)
      3>CUSTOMBUILD : error : test_mips_n32 (TestLinuxCore.LinuxCoreTestCase)
[E:\_work\1\b\tools\lldb\lit\check-lldb-lit.vcxproj]

              Test that lldb can read the process information from an MIPS N32
linux core file

         
----------------------------------------------------------------------

          Traceback (most recent call last):

            File
"E:\_work\1\s\llvm\tools\lldb\packages\Python\lldbsuite\test\functionalities\postmortem\elf-core\TestLinuxCore.py",
line 57, in test_mips_n32

              self._mips_regions, "linux-mips64el-")

            File
"E:\_work\1\s\llvm\tools\lldb\packages\Python\lldbsuite\test\functionalities\postmortem\elf-core\TestLinuxCore.py",
line 314, in do_test

              self.check_memory_regions(process, region_count)

            File
"E:\_work\1\s\llvm\tools\lldb\packages\Python\lldbsuite\test\functionalities\postmortem\elf-core\TestLinuxCore.py",
line 228, in check_memory_regions

              middle_address, region_at_middle)

            File "E:\_work\1\b\release\lib\site-packages\lldb\__init__.py",
line 8628, in GetMemoryRegionInfo

              return _lldb.SBProcess_GetMemoryRegionInfo(self, load_addr,
region_info)

          TypeError: in method 'SBProcess_GetMemoryRegionInfo', argument 2 of
type 'lldb::addr_t'

          Config=x86_64-E:\_work\1\b\release\bin\clang.exe</pre>
        </div>
      </p>


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

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>