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

Correctly build fuzz harness #2284

Merged
merged 2 commits into from
Oct 21, 2021

Conversation

phretor
Copy link
Contributor

@phretor phretor commented Oct 20, 2021

Follow up from #2273, and #2283

There was a missing add_subdirectory(fuzz) in the main CMakeLists.txt.

This prevented the fuzzers to be actually built and I could not understand why the local tests were passing while the remote ones (on google/oss-fuzz) were failing.

I had stale files into the build/out/fast-dds directory that made the tests always pass, while of course the production environment doesn't have those files cached.

Hopefully final fix on this refactoring.

Signed-off-by: Federico Maggi <federico@maggi.cc>
Signed-off-by: Federico Maggi <federico@maggi.cc>
Copy link
Member

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

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

I suppose you could blame the reviewer 😜

This time I checked the build locally, what I should have done on the previous reviews, and everything seems to be as expected.

@MiguelCompany MiguelCompany changed the title fuzz/fix-failing-harness Correctly build fuzz harness Oct 21, 2021
@MiguelCompany MiguelCompany merged commit 07e9829 into eProsima:master Oct 21, 2021
@phretor phretor deleted the fuzz/fix-failing-harness branch November 4, 2021 11:21
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