mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-25 09:50:04 -07:00
Split fuzz tests during fuzz build
Only build fuzz tests in a fuzz build, and don't build other tests. Keeps fuzz compilers from instrumenting other tests, which are not fuzzed. Resolves #7232
This commit is contained in:
parent
a1eca8ca7e
commit
41dfa96e5a
@ -80,17 +80,22 @@ file(COPY
|
|||||||
data/signed_monero_tx
|
data/signed_monero_tx
|
||||||
DESTINATION data)
|
DESTINATION data)
|
||||||
|
|
||||||
add_subdirectory(core_tests)
|
if (CMAKE_BUILD_TYPE STREQUAL "fuzz" OR OSSFUZZ)
|
||||||
add_subdirectory(fuzz)
|
add_subdirectory(fuzz)
|
||||||
add_subdirectory(crypto)
|
else ()
|
||||||
add_subdirectory(functional_tests)
|
add_subdirectory(core_tests)
|
||||||
add_subdirectory(performance_tests)
|
add_subdirectory(fuzz)
|
||||||
add_subdirectory(core_proxy)
|
add_subdirectory(crypto)
|
||||||
add_subdirectory(unit_tests)
|
add_subdirectory(functional_tests)
|
||||||
add_subdirectory(difficulty)
|
add_subdirectory(performance_tests)
|
||||||
add_subdirectory(block_weight)
|
add_subdirectory(core_proxy)
|
||||||
add_subdirectory(hash)
|
add_subdirectory(unit_tests)
|
||||||
add_subdirectory(net_load_tests)
|
add_subdirectory(difficulty)
|
||||||
|
add_subdirectory(block_weight)
|
||||||
|
add_subdirectory(hash)
|
||||||
|
add_subdirectory(net_load_tests)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (BUILD_GUI_DEPS)
|
if (BUILD_GUI_DEPS)
|
||||||
add_subdirectory(libwallet_api_tests)
|
add_subdirectory(libwallet_api_tests)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user