gtest/avif_fuzztest_helpers.cc is compiled once for each fuzztest target #2358
Closed
Description
In tests/CMakeLists.txt, the add_avif_fuzztest
macro is defned as follows:
macro(add_avif_fuzztest TEST_NAME)
add_executable(${TEST_NAME} gtest/${TEST_NAME}.cc gtest/avif_fuzztest_helpers.cc ${ARGN})
...
I think this means gtest/avif_fuzztest_helpers.cc is compiled once for each fuzztest target. We should move it to an object or static library so that it is compiled only once for all fuzztest targets.
Metadata
Assignees
Labels
No labels