Skip to content

[C++] Vendor googletest #43422

@bkietz

Description

@bkietz

Describe the enhancement requested

Provisioning googletest/GTest for c++ testing has been the source of many CI failures such as #43400 . Vendoring the whole library would give us greater control over what version is used and I don't think it would impact us much.

Since the version of GTest which we vendor will change seldom, libgtest.a should mostly be ccache'd so we won't be rebuilding it in every CI job.

GTest has an acceptable license for vendoring (3 clause BSD), documents vendoring as a simple option for projects which can do so, and we don't install anything which is linked to it anyway. I don't think it's a priority for us to support a wide set of libgtest.a versions in the same way that we try to support as many zlibs as possible

Component(s)

C++

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions