abseil / abseil/abseil-cpp

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

Đang mở
#2,077 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
18.1k
Fork
3.2k
Merge trung bình
20 giờ 36 phút
Pull request đã merge (30 ngày)
1

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.