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

Use MockDevice.cpp when building navy, move code within #ifdefn in FDP Device tests #335

Closed
wants to merge 2 commits into from

Conversation

pbhandar2
Copy link
Contributor

@pbhandar2 pbhandar2 commented Aug 21, 2024

This pull request addresses two build failures in the CacheLib repository:

Navy library MockDevice integration
The navy library recently started using MockDevice, but the build was failing due to missing API calls. This was caused by MockDevice.cpp not being included in the build process, and gmock not being linked.

Changes made:

Added MockDevice.cpp to the build process for navy
Linked gmock library to resolve missing API calls

FDP code test
Some variables used in FDP tests were not defined because they were contained with code blocks accessable only when FDP flags were set.

Changes made:
Move the FDP test code within #ifdefn block

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 21, 2024
@pbhandar2 pbhandar2 requested a review from haowu14 August 21, 2024 10:01
@facebook-github-bot
Copy link
Contributor

@pbhandar2 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@pbhandar2 merged this pull request in 193325b.

@pbhandar2 pbhandar2 deleted the pbhandar2-patch-1 branch January 7, 2025 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants