blob: 2e29242a87f95db906386acc90c414e5cb3e9124 [file]
get_filename_component(PARENT_DIR ../ ABSOLUTE)
include_directories(${PARENT_DIR})
include_directories(${CMAKE_BINARY_DIR})
add_executable(
fuzz_tests_for_microbenchmarking
fuzz_tests_for_microbenchmarking.cc
)
target_link_libraries(
fuzz_tests_for_microbenchmarking
PUBLIC
fuzztest_status
protobuf::libprotobuf
test_protobuf
absl::str_format
absl::string_view
)
link_fuzztest(fuzz_tests_for_microbenchmarking)
add_executable(
fuzz_tests_for_functional_testing.stripped
fuzz_tests_for_functional_testing.cc
fuzz_tests_for_microbenchmarking.cc
fuzz_tests_using_googletest.cc
)
target_link_libraries(
fuzz_tests_for_functional_testing.stripped
PUBLIC
protobuf::libprotobuf
test_protobuf
absl::algorithm_container
absl::function_ref
absl::str_format
absl::strings
absl::time
fuzztest_googletest_fixture_adapter
fuzztest_logging
)
link_fuzztest(fuzz_tests_for_functional_testing.stripped)
set_target_properties(
fuzz_tests_for_functional_testing.stripped
PROPERTIES RUNTIME_OUTPUT_DIRECTORY
"${CMAKE_BINARY_DIR}/_main/e2e_tests/testdata"
)
add_executable(
fuzz_tests_with_invalid_seeds.stripped
fuzz_tests_with_invalid_seeds.cc
)
target_link_libraries(
fuzz_tests_with_invalid_seeds.stripped
PUBLIC
fuzztest_status
)
link_fuzztest(fuzz_tests_with_invalid_seeds.stripped)
set_target_properties(
fuzz_tests_with_invalid_seeds.stripped
PROPERTIES RUNTIME_OUTPUT_DIRECTORY
"${CMAKE_BINARY_DIR}/_main/e2e_tests/testdata"
)
add_executable(
dynamically_registered_fuzz_tests.stripped
dynamically_registered_fuzz_tests.cc
)
link_fuzztest(dynamically_registered_fuzz_tests.stripped)
set_target_properties(
dynamically_registered_fuzz_tests.stripped
PROPERTIES RUNTIME_OUTPUT_DIRECTORY
"${CMAKE_BINARY_DIR}/_main/e2e_tests/testdata"
)
add_executable(
domain_tests.stripped
domain_tests.cc
)
target_link_libraries(
domain_tests.stripped
PUBLIC
absl::str_format
)
link_fuzztest_core(domain_tests.stripped)
set_target_properties(
domain_tests.stripped
PROPERTIES RUNTIME_OUTPUT_DIRECTORY
"${CMAKE_BINARY_DIR}/_main/e2e_tests/testdata"
)
add_executable(
unit_test_and_fuzz_tests.stripped
unit_test_and_fuzz_tests.cc
)
link_fuzztest(unit_test_and_fuzz_tests.stripped)
set_target_properties(
unit_test_and_fuzz_tests.stripped
PROPERTIES RUNTIME_OUTPUT_DIRECTORY
"${CMAKE_BINARY_DIR}/_main/e2e_tests/testdata"
)