DebugInfo/PDB/pdbdump-symbol-format.test fails with VS 2015

Hi,

This might be interesting since it seems to be the only LLVM test
failing with VS 2015:

FAIL: LLVM :: DebugInfo/PDB/pdbdump-symbol-format.test (7377 of 14212)
******************** TEST 'LLVM ::
DebugInfo/PDB/pdbdump-symbol-format.test' FAILED ********************
Script:

FWIW, this test is passing for me on Windows 7 with Visual Studio 2015
(debug build).

59> Running all regression tests
59> -- Testing: 23734 tests, 32 threads --
59>
59> Testing Time: 634.19s
59> Expected Passes : 22821
59> Expected Failures : 160
59> Unsupported Tests : 753
59> lit.py: lit.cfg:195: note: using clang: 'E:/llvm/2015/Debug/bin/clang.EXE'
59> lit.py: lit.cfg:333: note: Did not find clang-interpreter in
E:/llvm/2015/Debug/bin;E:/llvm/2015/Debug/bin
59> lit.py: lit.cfg:279: note: Did not find llvm-go in E:/llvm/2015/Debug/bin
========== Build: 59 succeeded, 0 failed, 266 up-to-date, 0 skipped ==========

~Aaron

May be related to cygwin?

I tested on Win 10 (Build 10240) so that might be it. I'll switch back to Win 7.

Ok just tried on Win 7 and the same problem occurs. I am building with :

cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT
-DLLVM_ENABLE_TIMESTAMPS=ON -DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DLLVM_TARGETS_TO_BUILD="ARM;X86"
-DPYTHON_EXECUTABLE=$python_exe -DLLVM_BUILD_TESTS=ON
-DLLVM_LIT_TOOLS_DIR=C:/cygwin64/bin

fwiw compiler-rt is also enabled.

Also if you can forward me the output of

llvm-pdbdump.exe -types llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb

then I can compare the outputs.

Thanks!

Ok just tried on Win 7 and the same problem occurs. I am building with :

cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT
-DLLVM_ENABLE_TIMESTAMPS=ON -DLLVM_ENABLE_ASSERTIONS=ON
-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DLLVM_TARGETS_TO_BUILD="ARM;X86"
-DPYTHON_EXECUTABLE=$python_exe -DLLVM_BUILD_TESTS=ON
-DLLVM_LIT_TOOLS_DIR=C:/cygwin64/bin

fwiw compiler-rt is also enabled.

Also if you can forward me the output of

llvm-pdbdump.exe -types llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdb

then I can compare the outputs.

I am now seeing it failing on Windows. I ran the test three times
yesterday, and it worked all three times. I ran the test three times
today, and it failed all three times.

~Aaron