llvm / llvm/llvm-project

LLVM failed to run tests on Windows

Open
#166,319 3 comments 0 reactions 0 assignees View on GitHub
clang:codegen clang:modules debuginfo test-suite
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

The MSVC team regularly builds popular open-source projects, including yours, with development versions of the build tools in order to find and fix regressions in the compiler and libraries before they can ship and cause trouble for the world. This also allows us to provide advance notice of breaking changes, which is the case here.

There are 10 tests failed to run on Windows due to test format mismatch. Could you please help to take a look at it? Thanks in advance!

**Repro steps:**
1. Open VS2022 x64 CMD.
2. git clone --config core.autocrlf=false https://github.com/llvm/llvm-project.git
3. cd llvm-project
4. mkdir build_amd64 && cd build_amd64
5. cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.26100.0 -DLLVM_ENABLE_PROJECTS="clang" -DCLANG_BUILD_LIFETIME_SAFETY_BENCHMARK_VENV=OFF ..\llvm
6. msbuild /m /p:Platform=x64 /p:Configuration=RelWithDebInfo /p:PreferredToolArchitecture=x64 LLVM.sln /t:Rebuild
7. set PATH=F:\tools\gnuwin32\bin;%PATH%
8. python.exe ../llvm/utils/lit/lit.py -v --no-progress-bar --param build_mode=RelWithDebInfo --param clang_site_config=./tools/clang/test/lit.site.cfg ./tools/clang/test -j 16

**Actual result:**
Failed Tests (10):
Clang :: APINotes/yaml-roundtrip-2.test
Clang :: APINotes/yaml-roundtrip.test
Clang :: ClangScanDeps/raw-strings.cpp
Clang :: CodeGen/AArch64/ls64-inline-asm.c
Clang :: CodeGen/inline-asm-systemz-flag-output.c
Clang :: DebugInfo/Generic/embed-source.c
Clang :: DebugInfo/Generic/file-checksum.c
Clang :: DebugInfo/KeyInstructions/asm.c
Clang :: Modules/umbrella_dir_order.m
Clang :: OpenMP/for_private_reduction_codegen.cpp

Test log file:

[Test.log](https://github.com/user-attachments/files/23325735/Test.log.4.log)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.