From 42731b2764b0f2dd7d55775335b9f7c3b09aae3c Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Mon, 2 Sep 2024 21:27:33 +0100 Subject: [PATCH] cleanup --- CMakeLists.txt | 24 ------- src/test/fuzz/CMakeLists.txt | 123 ----------------------------------- 2 files changed, 147 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 32db4189d49a0..3c9edaf82b16b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -431,30 +431,6 @@ if(MSVC) _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING ) else() - try_append_cxx_flags("-Wall" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wextra" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wgnu" TARGET warn_interface SKIP_LINK) - # Some compilers will ignore -Wformat-security without -Wformat, so just combine the two here. - try_append_cxx_flags("-Wformat -Wformat-security" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wvla" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wshadow-field" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wthread-safety" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wloop-analysis" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wredundant-decls" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wunused-member-function" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wdate-time" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wconditional-uninitialized" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wduplicated-branches" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wduplicated-cond" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wlogical-op" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Woverloaded-virtual" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wsuggest-override" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wimplicit-fallthrough" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wunreachable-code" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wdocumentation" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wself-assign" TARGET warn_interface SKIP_LINK) - try_append_cxx_flags("-Wundef" TARGET warn_interface SKIP_LINK) - # Some compilers (gcc) ignore unknown -Wno-* options, but warn about all # unknown options if any other warning is produced. Test the -Wfoo case, and # set the -Wno-foo case if it works. diff --git a/src/test/fuzz/CMakeLists.txt b/src/test/fuzz/CMakeLists.txt index 134232e984a9b..f44fee4b8dbb3 100644 --- a/src/test/fuzz/CMakeLists.txt +++ b/src/test/fuzz/CMakeLists.txt @@ -6,125 +6,6 @@ add_subdirectory(util) add_executable(fuzz addition_overflow.cpp - addrman.cpp - asmap.cpp - asmap_direct.cpp - autofile.cpp - banman.cpp - base_encode_decode.cpp - bech32.cpp - bip324.cpp - bitdeque.cpp - bitset.cpp - block.cpp - block_header.cpp - block_index.cpp - blockfilter.cpp - bloom_filter.cpp - buffered_file.cpp - chain.cpp - checkqueue.cpp - cluster_linearize.cpp - coins_view.cpp - coinscache_sim.cpp - connman.cpp - crypto.cpp - crypto_aes256.cpp - crypto_aes256cbc.cpp - crypto_chacha20.cpp - crypto_chacha20poly1305.cpp - crypto_common.cpp - crypto_diff_fuzz_chacha20.cpp - crypto_hkdf_hmac_sha256_l32.cpp - crypto_poly1305.cpp - cuckoocache.cpp - decode_tx.cpp - descriptor_parse.cpp - deserialize.cpp - eval_script.cpp - feefrac.cpp - fee_rate.cpp - feeratediagram.cpp - fees.cpp - flatfile.cpp - float.cpp - golomb_rice.cpp - headerssync.cpp - hex.cpp - http_request.cpp - integer.cpp - key.cpp - key_io.cpp - kitchen_sink.cpp - load_external_block_file.cpp - locale.cpp - merkleblock.cpp - message.cpp - miniscript.cpp - minisketch.cpp - mini_miner.cpp - muhash.cpp - multiplication_overflow.cpp - net.cpp - net_permissions.cpp - netaddress.cpp - netbase_dns_lookup.cpp - node_eviction.cpp - p2p_handshake.cpp - p2p_transport_serialization.cpp - package_eval.cpp - parse_hd_keypath.cpp - parse_numbers.cpp - parse_script.cpp - parse_univalue.cpp - partially_downloaded_block.cpp - policy_estimator.cpp - policy_estimator_io.cpp - poolresource.cpp - pow.cpp - prevector.cpp - primitives_transaction.cpp - process_message.cpp - process_messages.cpp - protocol.cpp - psbt.cpp - random.cpp - rbf.cpp - rolling_bloom_filter.cpp - rpc.cpp - script.cpp - script_assets_test_minimizer.cpp - script_descriptor_cache.cpp - script_flags.cpp - script_format.cpp - script_interpreter.cpp - script_ops.cpp - script_parsing.cpp - script_sigcache.cpp - script_sign.cpp - scriptnum_ops.cpp - secp256k1_ec_seckey_import_export_der.cpp - secp256k1_ecdsa_signature_parse_der_lax.cpp - signature_checker.cpp - signet.cpp - socks5.cpp - span.cpp - string.cpp - strprintf.cpp - system.cpp - timeoffsets.cpp - torcontrol.cpp - transaction.cpp - tx_in.cpp - tx_out.cpp - tx_pool.cpp - txorphan.cpp - txrequest.cpp - utxo_snapshot.cpp - utxo_total_supply.cpp - validation_load_mempool.cpp - vecdeque.cpp - versionbits.cpp ) target_link_libraries(fuzz core_interface @@ -138,7 +19,3 @@ target_link_libraries(fuzz Boost::headers $ ) - -if(ENABLE_WALLET) - add_subdirectory(${PROJECT_SOURCE_DIR}/src/wallet/test/fuzz wallet) -endif()