Skip to content

Update gtest to 1.17.0 and fix Conan profile C++ standard#505

Merged
SavenkovIgor merged 3 commits intomainfrom
copilot/update-gtest-version
Feb 7, 2026
Merged

Update gtest to 1.17.0 and fix Conan profile C++ standard#505
SavenkovIgor merged 3 commits intomainfrom
copilot/update-gtest-version

Conversation

Copy link
Contributor

Copilot AI commented Feb 7, 2026

gtest 1.17.0 requires compiler.cppstd to be explicitly set in Conan profiles. CI was failing with:

gtest/1.17.0: Invalid: The compiler.cppstd is not defined for this configuration

Changes

  • conanfile.py: Bump gtest 1.15.0 → 1.17.0
  • Conan profiles: Add compiler.cppstd=23 to all profiles (base/clang_compiler, wasm_dev, wasm_release)

The cppstd value matches the project's existing C++23 standard defined in CMakeLists.txt.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: SavenkovIgor <339734+SavenkovIgor@users.noreply.github.com>
Copilot AI changed the title [WIP] Update gtest version to the latest Update gtest to 1.17.0 Feb 7, 2026
Copilot AI requested a review from SavenkovIgor February 7, 2026 20:18
Co-authored-by: SavenkovIgor <339734+SavenkovIgor@users.noreply.github.com>
Copilot AI changed the title Update gtest to 1.17.0 Update gtest to 1.17.0 and fix Conan profile C++ standard Feb 7, 2026
Copilot AI requested a review from SavenkovIgor February 7, 2026 20:27
@SavenkovIgor SavenkovIgor marked this pull request as ready for review February 7, 2026 20:36
Copilot AI review requested due to automatic review settings February 7, 2026 20:36
@SavenkovIgor SavenkovIgor merged commit e086c69 into main Feb 7, 2026
5 checks passed
@SavenkovIgor SavenkovIgor deleted the copilot/update-gtest-version branch February 7, 2026 20:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Conan test dependency on GoogleTest and aligns Conan profiles with the project’s C++23 standard so Conan can correctly resolve the toolchain configuration (fixing the compiler.cppstd CI failure).

Changes:

  • Bump gtest test requirement from 1.15.0 to 1.17.0 in conanfile.py.
  • Add compiler.cppstd=23 to Conan profiles (clang base + wasm profiles) to match the project’s C++23 configuration.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
conanfile.py Updates the gtest test dependency version to 1.17.0.
conanfiles/profile/base/clang_compiler Adds compiler.cppstd=23 for clang-based desktop profiles via include().
conanfiles/profile/wasm_dev Adds compiler.cppstd=23 for Emscripten Debug builds.
conanfiles/profile/wasm_release Adds compiler.cppstd=23 for Emscripten Release builds.
Comments suppressed due to low confidence (2)

conanfile.py:2

  • Import of 'CMakeDeps' is not used.
from conan.tools.cmake import CMakeToolchain, CMakeDeps, CMake

conanfile.py:3

  • Import of 'os' is not used.
import os

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants