[Bug 37371] New: All tests in LinuxCoreTestCase fail on Windows

Bug ID 37371
Summary All tests in LinuxCoreTestCase fail on Windows
Product lldb
Version 6.0
Hardware PC
OS Windows NT
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter stilis@microsoft.com
CC llvm-bugs@lists.llvm.org

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

labath@google.com changed bug 37371

What | Removed | Added |

  • | - | - |
    Resolution | — | FIXED |
    Status | NEW | RESOLVED |
    CC | | labath@google.com |

Comment # 1 on bug 37371 from labath@google.com

(Accidentally) fixed by r354273. The error was due to a python3 incompatibility
(/-division results in floats on py3).