google / googletest

GoogleTest - Google Testing and Mocking Framework
https://google.github.io/googletest/
BSD 3-Clause "New" or "Revised" License
33.68k stars 9.98k forks source link

bazel Windows builds are currently failing for automated PR runs on GitHub #4509

Closed davidmatson closed 3 months ago

davidmatson commented 3 months ago

Describe the issue

Some PRs are currently showing as red due to this bug:

4494

4126

4508

4505

Here's an example error:

ERROR: D:/a/googletest/googletest/googletest/test/BUILD.bazel:407:10: Compiling googletest/test/gtest_xml_output_unittest_.cc failed: (Exit 2): cl.exe failed: error executing CppCompile command (from target //googletest/test:gtest_xml_output_unittest_) C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.39.33519\bin\HostX64\x64\cl.exe ... (remaining 1 argument skipped)
cl : Command line error D8004 : '/external:I' requires an argument

Steps to reproduce the problem

n/a

What version of GoogleTest are you using?

n/a

What operating system and version are you using?

n/a

What compiler and version are you using?

n/a

What build system are you using?

n/a

Additional context

No response