Skip to content

Running fuzzers #2522

Answered by maryla-uc
bradh asked this question in Q&A
Dec 15, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi, sorry for the lack of instructions on how to run the fuzzers.
In general, to see why the test fails you should run it with logs, the easiest being with a command like this:

ctest --output-on-failure -R fuzztest

(the value after -R is a regular expression for the tests to run)

avif_fuzztest_yuvrgb probably fails because you don't have AVIF_LIBSHARPYUV enabled (a requirement which again, was not properly documented).

Update: Another requirement is having both AOM and DAV1D enabled. tests/CMakeLists.txt lists the following recommended flags (but I think some are missing): -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DAVIF_CODEC_DAV1D=ON -DAVIF_ENABLE_WERROR=OFF

If you have all…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@bradh
Comment options

Comment options

You must be logged in to vote
1 reply
@bradh
Comment options

Answer selected by bradh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants