abseil / abseil/abseil-cpp

[MSVC] abseil_cpp failed to run 2 tests "absl_random_bit_gen_ref_test" and "absl_time_test" on Windows

Aberta
#2,077 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
C++
Estrelas
18.1k
Forks
3.2k
Merge médio
20h 36min
PRs com merge (30d)
1

Descrição

### Describe the issue

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.

abseil_cpp failed to run 2 tests "absl_random_bit_gen_ref_test" and "absl_time_test" on Windows. Could you please help take a look? Thanks in advance!

### Steps to reproduce the problem

```
1. Open VS2022 x64 CMD.
2. git clone https://github.com/abseil/abseil-cpp C:\gitP\abseil\abseil-cpp
3. mkdir build_amd64 && cd build_amd64
4. set _CL_=/std:c++17
5. cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.26100.0 -DBUILD_TESTING=ON -DABSL_USE_GOOGLETEST_HEAD=ON -DABSL_BUILD_TESTING=ON -DABSL_PROPAGATE_CXX_STD=ON ..
6. msbuild /m /p:Platform=x64 /p:Configuration=Release absl.sln /t:Rebuild
7. ctest --build-config Release --output-on-failure
```

**Error info:
The following tests FAILED:
125 - absl_random_bit_gen_ref_test (Timeout)**
125/235 Test #125: absl_random_bit_gen_ref_test ........................***Timeout 1500.02 sec
Running main() from C:\gitP\abseil\abseil-cpp\build_amd64\googletest-src\googletest\src\gtest_main.cc

**225 - absl_time_test (Failed)**
[ RUN ] Time.Breakdown
[test_util.cc : 26] RAW: Check LoadTimeZone(name, &tz) failed: America/New_York

**test log file:**
[Test4.log](https://github.com/user-attachments/files/28868461/Test4.log)

### What version of Abseil are you using?

master branch commit b85d169.

### What operating system and version are you using?

Windows 11

### What compiler and version are you using?

The latest MSVC

### What build system are you using?

>cmake --version
cmake version 3.31.6-msvc6

### Additional context

_No response_

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.