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

Fuzztest clean-ups #2529

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fuzztest clean-ups #2529

wants to merge 1 commit into from

Conversation

vrabaud
Copy link
Collaborator

@vrabaud vrabaud commented Dec 23, 2024

  • merge AVIF_ENABLE_FUZZTEST and AVIF_LOCAL_FUZZTEST
  • allow for fuzztest be built from CMake

- merge AVIF_ENABLE_FUZZTEST and AVIF_LOCAL_FUZZTEST
- allow for fuzztest be built from CMake
@vrabaud vrabaud requested a review from wantehchang December 23, 2024 12:42
@vrabaud vrabaud marked this pull request as ready for review December 23, 2024 12:50
@@ -142,9 +142,6 @@ option(
"Build tests that compare encoding outputs to golden files. Needs AVIF_BUILD_APPS=ON and AVIF_BUILD_TESTS=ON, and depends on MP4box which can be built with ext/mp4box.sh"
OFF
)
option(AVIF_ENABLE_FUZZTEST "Build avif fuzztest targets. Requires Google FuzzTest. Has no effect unless AVIF_BUILD_TESTS is ON."
OFF
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am wondering why you didn't use the AVIF_FUZZTEST=SYSTEM/LOCAL/OFF convention for FuzzTest.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

SYSTEM is most likely not available and even if it were, our dependency on fuzztest is so weak that it's better we handle it ourselves with LOCAL only: we know our dependency works with a particular sha1+patches. I did not try with more recent versions (as long as the CMake issues are not fixed, there is no point in trying anything newer).

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