Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: cleanup: simpler GoogleTest dependency management #1699

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

federico-sysdig
Copy link
Contributor

What type of PR is this?
/kind cleanup

Any specific area of the project related to this PR?
/area build
/area tests

Does this PR require a change in the driver versions?
No

What this PR does / why we need it:
Simplify the way the 3rd party library GoogleTest is found or retrieved.
Usage of the CMake mechanisms FetchContent, for the "bundled" approach, and find_package, for the rest, makes possible to use target aliases GTest::gtest and GTest::gtest_main that bring all needed properties (binary to link to, include paths, etc.) to the linked test target.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

@poiana
Copy link
Contributor

poiana commented Feb 17, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: federico-sysdig
Once this PR has been reviewed and has the lgtm label, please assign mstemm for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana added the size/L label Feb 17, 2024
@federico-sysdig federico-sysdig force-pushed the cleanup-googletest-library-dependency branch from cb06364 to 7f54d4d Compare February 19, 2024 14:06
@federico-sysdig federico-sysdig changed the title cleanup: simpler GoogleTest dependency management wip: cleanup: simpler GoogleTest dependency management Feb 21, 2024
@Andreagit97 Andreagit97 added this to the TBD milestone Mar 11, 2024
@poiana
Copy link
Contributor

poiana commented Jun 9, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@federico-sysdig federico-sysdig force-pushed the cleanup-googletest-library-dependency branch from 7f54d4d to 05ae700 Compare June 10, 2024 08:38
@federico-sysdig
Copy link
Contributor Author

/remove-lifecycle stale

@federico-sysdig
Copy link
Contributor Author

This is an old PR that I did not follow for a while. It's going stale, but I'd like to give it another try.

@poiana
Copy link
Contributor

poiana commented Sep 8, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

@federico-sysdig
Copy link
Contributor Author

/remove-lifecycle stale

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

Successfully merging this pull request may close these issues.

3 participants