Skip to content

chore: Check that both gtest and gmock exist for tests.#2637

Merged
toktok-releaser merged 1 commit intoTokTok:masterfrom
iphydf:gmock
Feb 3, 2024
Merged

chore: Check that both gtest and gmock exist for tests.#2637
toktok-releaser merged 1 commit intoTokTok:masterfrom
iphydf:gmock

Conversation

@iphydf
Copy link
Member

@iphydf iphydf commented Feb 3, 2024

We used to assume gtest installation includes gmock, but some users may have only gtest and not gmock.

Fixes #2636.


This change is Reviewable

We used to assume gtest installation includes gmock, but some users may
have only gtest and not gmock.

Fixes TokTok#2636.
@iphydf iphydf added this to the v0.2.19 milestone Feb 3, 2024
@iphydf iphydf marked this pull request as ready for review February 3, 2024 00:06
@codecov
Copy link

codecov bot commented Feb 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4201066) 73.59% compared to head (8b05296) 73.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2637      +/-   ##
==========================================
+ Coverage   73.59%   73.65%   +0.05%     
==========================================
  Files         148      148              
  Lines       30419    30419              
==========================================
+ Hits        22388    22406      +18     
+ Misses       8031     8013      -18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nurupo
Copy link
Member

nurupo commented Feb 3, 2024

Oh, you beat me to it. That's pretty much the same fix I came to.

@toktok-releaser toktok-releaser merged commit 8b05296 into TokTok:master Feb 3, 2024
@iphydf iphydf deleted the gmock branch February 3, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Regression: cmake fails when libgtest-dev is installed but libgmock-dev is not

4 participants