2016-09-21 19:31:23 -03:00
|
|
|
# Copyright (c) 2013-2016 The Bitcoin Core developers
|
|
|
|
# Distributed under the MIT software license, see the accompanying
|
|
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2019-01-25 20:35:36 -03:00
|
|
|
FUZZ_TARGETS = \
|
2020-04-07 12:31:43 -04:00
|
|
|
test/fuzz/addition_overflow \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/addr_info_deserialize \
|
2020-03-23 10:55:36 -03:00
|
|
|
test/fuzz/addrdb \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/address_deserialize \
|
2020-05-24 14:11:55 -04:00
|
|
|
test/fuzz/addrman \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/addrman_deserialize \
|
2020-01-30 13:04:25 -03:00
|
|
|
test/fuzz/asmap \
|
2020-04-03 22:42:20 -03:00
|
|
|
test/fuzz/asmap_direct \
|
2020-06-02 15:04:44 -04:00
|
|
|
test/fuzz/autofile \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/banentry_deserialize \
|
2020-06-09 07:16:13 -04:00
|
|
|
test/fuzz/banman \
|
2019-10-23 09:37:59 -03:00
|
|
|
test/fuzz/base_encode_decode \
|
2019-11-05 06:18:27 -03:00
|
|
|
test/fuzz/bech32 \
|
2019-10-07 09:53:50 -03:00
|
|
|
test/fuzz/block \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/block_deserialize \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/block_file_info_deserialize \
|
|
|
|
test/fuzz/block_filter_deserialize \
|
2020-03-14 21:40:03 -03:00
|
|
|
test/fuzz/block_header \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/block_header_and_short_txids_deserialize \
|
2020-03-24 11:35:51 -03:00
|
|
|
test/fuzz/blockfilter \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/blockheader_deserialize \
|
|
|
|
test/fuzz/blocklocator_deserialize \
|
|
|
|
test/fuzz/blockmerkleroot \
|
|
|
|
test/fuzz/blocktransactions_deserialize \
|
|
|
|
test/fuzz/blocktransactionsrequest_deserialize \
|
|
|
|
test/fuzz/blockundo_deserialize \
|
2020-02-24 17:35:10 -03:00
|
|
|
test/fuzz/bloom_filter \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/bloomfilter_deserialize \
|
2020-06-02 15:05:13 -04:00
|
|
|
test/fuzz/buffered_file \
|
2020-03-26 17:51:05 -03:00
|
|
|
test/fuzz/chain \
|
2020-04-08 09:16:04 -04:00
|
|
|
test/fuzz/checkqueue \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/coins_deserialize \
|
2020-04-28 08:27:56 -04:00
|
|
|
test/fuzz/coins_view \
|
2020-10-18 13:20:04 -03:00
|
|
|
test/fuzz/connman \
|
2020-06-15 13:20:54 -04:00
|
|
|
test/fuzz/crypto \
|
2020-06-16 09:03:01 -04:00
|
|
|
test/fuzz/crypto_aes256 \
|
2020-06-16 09:57:40 -04:00
|
|
|
test/fuzz/crypto_aes256cbc \
|
2020-06-17 07:12:05 -04:00
|
|
|
test/fuzz/crypto_chacha20 \
|
2020-06-17 11:22:38 -04:00
|
|
|
test/fuzz/crypto_chacha20_poly1305_aead \
|
2020-06-11 08:41:54 -04:00
|
|
|
test/fuzz/crypto_common \
|
2020-06-17 05:49:09 -04:00
|
|
|
test/fuzz/crypto_hkdf_hmac_sha256_l32 \
|
2020-06-17 05:47:42 -04:00
|
|
|
test/fuzz/crypto_poly1305 \
|
2020-04-08 09:48:37 -04:00
|
|
|
test/fuzz/cuckoocache \
|
2019-12-19 16:26:42 -03:00
|
|
|
test/fuzz/decode_tx \
|
2019-10-01 07:26:20 -03:00
|
|
|
test/fuzz/descriptor_parse \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/diskblockindex_deserialize \
|
2019-10-08 12:17:14 -03:00
|
|
|
test/fuzz/eval_script \
|
2020-03-14 23:24:38 -03:00
|
|
|
test/fuzz/fee_rate \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/fee_rate_deserialize \
|
2020-04-07 11:40:13 -04:00
|
|
|
test/fuzz/fees \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/flat_file_pos_deserialize \
|
2020-03-27 11:12:11 -03:00
|
|
|
test/fuzz/flatfile \
|
2020-01-23 14:26:19 -03:00
|
|
|
test/fuzz/float \
|
2020-02-21 12:57:02 -03:00
|
|
|
test/fuzz/golomb_rice \
|
2019-10-23 12:08:48 -03:00
|
|
|
test/fuzz/hex \
|
2020-03-16 23:03:16 -03:00
|
|
|
test/fuzz/http_request \
|
2019-10-09 12:51:32 -03:00
|
|
|
test/fuzz/integer \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/inv_deserialize \
|
2020-01-21 09:22:55 -03:00
|
|
|
test/fuzz/key \
|
2020-01-14 13:38:36 -03:00
|
|
|
test/fuzz/key_io \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/key_origin_info_deserialize \
|
2020-04-22 09:53:50 -04:00
|
|
|
test/fuzz/kitchen_sink \
|
2020-06-02 15:05:46 -04:00
|
|
|
test/fuzz/load_external_block_file \
|
2020-02-11 12:25:51 -03:00
|
|
|
test/fuzz/locale \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/merkle_block_deserialize \
|
2020-03-27 17:55:47 -03:00
|
|
|
test/fuzz/merkleblock \
|
2020-04-27 10:03:36 -04:00
|
|
|
test/fuzz/message \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/messageheader_deserialize \
|
2020-03-15 08:46:57 -03:00
|
|
|
test/fuzz/multiplication_overflow \
|
2020-05-25 08:40:36 -04:00
|
|
|
test/fuzz/net \
|
2020-03-23 12:02:18 -03:00
|
|
|
test/fuzz/net_permissions \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/netaddr_deserialize \
|
2020-01-31 19:37:07 -03:00
|
|
|
test/fuzz/netaddress \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/out_point_deserialize \
|
2019-12-18 13:25:20 -03:00
|
|
|
test/fuzz/p2p_transport_deserializer \
|
2019-10-02 08:20:17 -03:00
|
|
|
test/fuzz/parse_hd_keypath \
|
2019-10-28 13:01:41 -03:00
|
|
|
test/fuzz/parse_iso8601 \
|
2019-10-02 09:01:52 -03:00
|
|
|
test/fuzz/parse_numbers \
|
2019-10-02 08:36:08 -03:00
|
|
|
test/fuzz/parse_script \
|
2019-10-03 06:11:40 -03:00
|
|
|
test/fuzz/parse_univalue \
|
2019-12-19 16:27:14 -03:00
|
|
|
test/fuzz/partial_merkle_tree_deserialize \
|
|
|
|
test/fuzz/partially_signed_transaction_deserialize \
|
2020-04-26 15:27:54 -04:00
|
|
|
test/fuzz/policy_estimator \
|
2020-06-02 15:06:07 -04:00
|
|
|
test/fuzz/policy_estimator_io \
|
2020-03-22 11:16:40 -03:00
|
|
|
test/fuzz/pow \
|
2019-12-19 16:27:14 -03:00
|
|
|
test/fuzz/prefilled_transaction_deserialize \
|
2020-04-22 09:54:41 -04:00
|
|
|
test/fuzz/prevector \
|
2020-04-26 16:25:18 -04:00
|
|
|
test/fuzz/primitives_transaction \
|
2020-01-22 17:23:48 -03:00
|
|
|
test/fuzz/process_message \
|
2020-01-23 08:47:12 -03:00
|
|
|
test/fuzz/process_message_addr \
|
|
|
|
test/fuzz/process_message_block \
|
|
|
|
test/fuzz/process_message_blocktxn \
|
|
|
|
test/fuzz/process_message_cmpctblock \
|
|
|
|
test/fuzz/process_message_feefilter \
|
|
|
|
test/fuzz/process_message_filteradd \
|
|
|
|
test/fuzz/process_message_filterclear \
|
|
|
|
test/fuzz/process_message_filterload \
|
|
|
|
test/fuzz/process_message_getaddr \
|
|
|
|
test/fuzz/process_message_getblocks \
|
|
|
|
test/fuzz/process_message_getblocktxn \
|
|
|
|
test/fuzz/process_message_getdata \
|
|
|
|
test/fuzz/process_message_getheaders \
|
|
|
|
test/fuzz/process_message_headers \
|
|
|
|
test/fuzz/process_message_inv \
|
|
|
|
test/fuzz/process_message_mempool \
|
|
|
|
test/fuzz/process_message_notfound \
|
|
|
|
test/fuzz/process_message_ping \
|
|
|
|
test/fuzz/process_message_pong \
|
|
|
|
test/fuzz/process_message_sendcmpct \
|
|
|
|
test/fuzz/process_message_sendheaders \
|
|
|
|
test/fuzz/process_message_tx \
|
|
|
|
test/fuzz/process_message_verack \
|
|
|
|
test/fuzz/process_message_version \
|
2020-04-22 09:54:41 -04:00
|
|
|
test/fuzz/process_messages \
|
2020-03-26 16:37:55 -03:00
|
|
|
test/fuzz/protocol \
|
2019-10-14 08:49:31 -03:00
|
|
|
test/fuzz/psbt \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/psbt_input_deserialize \
|
|
|
|
test/fuzz/psbt_output_deserialize \
|
|
|
|
test/fuzz/pub_key_deserialize \
|
2020-03-28 05:56:38 -03:00
|
|
|
test/fuzz/random \
|
2020-04-26 15:29:03 -04:00
|
|
|
test/fuzz/rbf \
|
2020-02-24 17:48:22 -03:00
|
|
|
test/fuzz/rolling_bloom_filter \
|
2019-10-08 11:36:57 -03:00
|
|
|
test/fuzz/script \
|
2020-05-16 14:17:25 -04:00
|
|
|
test/fuzz/script_bitcoin_consensus \
|
2020-05-16 14:18:07 -04:00
|
|
|
test/fuzz/script_descriptor_cache \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/script_deserialize \
|
2019-02-13 16:25:49 -03:00
|
|
|
test/fuzz/script_flags \
|
2020-05-16 14:18:49 -04:00
|
|
|
test/fuzz/script_interpreter \
|
2020-10-02 03:24:00 -03:00
|
|
|
test/fuzz/script_assets_test_minimizer \
|
2020-02-18 13:41:16 -03:00
|
|
|
test/fuzz/script_ops \
|
2020-05-16 14:20:15 -04:00
|
|
|
test/fuzz/script_sigcache \
|
2020-05-16 14:20:39 -04:00
|
|
|
test/fuzz/script_sign \
|
2020-02-19 12:18:13 -03:00
|
|
|
test/fuzz/scriptnum_ops \
|
2020-06-25 09:06:18 -04:00
|
|
|
test/fuzz/secp256k1_ec_seckey_import_export_der \
|
2020-06-25 05:58:13 -04:00
|
|
|
test/fuzz/secp256k1_ecdsa_signature_parse_der_lax \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/service_deserialize \
|
2020-02-15 17:42:50 -03:00
|
|
|
test/fuzz/signature_checker \
|
2020-08-17 05:41:37 -04:00
|
|
|
test/fuzz/signet \
|
2020-03-09 09:14:01 -03:00
|
|
|
test/fuzz/snapshotmetadata_deserialize \
|
2020-03-27 18:12:28 -03:00
|
|
|
test/fuzz/span \
|
2019-10-12 04:50:22 -03:00
|
|
|
test/fuzz/spanparsing \
|
2020-03-15 11:08:34 -03:00
|
|
|
test/fuzz/string \
|
2020-01-26 19:12:11 -03:00
|
|
|
test/fuzz/strprintf \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/sub_net_deserialize \
|
2020-04-22 09:54:41 -04:00
|
|
|
test/fuzz/system \
|
2020-03-23 11:18:07 -03:00
|
|
|
test/fuzz/timedata \
|
2019-10-08 06:33:53 -03:00
|
|
|
test/fuzz/transaction \
|
2019-10-09 10:07:31 -03:00
|
|
|
test/fuzz/tx_in \
|
2019-10-03 11:18:31 -03:00
|
|
|
test/fuzz/tx_in_deserialize \
|
2019-10-09 10:14:52 -03:00
|
|
|
test/fuzz/tx_out \
|
2019-01-25 20:35:36 -03:00
|
|
|
test/fuzz/txoutcompressor_deserialize \
|
2020-09-21 01:18:59 -03:00
|
|
|
test/fuzz/txrequest \
|
2020-03-09 09:14:01 -03:00
|
|
|
test/fuzz/txundo_deserialize \
|
|
|
|
test/fuzz/uint160_deserialize \
|
|
|
|
test/fuzz/uint256_deserialize
|
2019-01-25 20:35:36 -03:00
|
|
|
|
|
|
|
if ENABLE_FUZZ
|
|
|
|
noinst_PROGRAMS += $(FUZZ_TARGETS:=)
|
2019-01-16 13:49:01 -03:00
|
|
|
else
|
|
|
|
bin_PROGRAMS += test/test_bitcoin
|
2019-01-25 20:35:36 -03:00
|
|
|
endif
|
|
|
|
|
2014-05-28 13:38:41 -04:00
|
|
|
TEST_SRCDIR = test
|
|
|
|
TEST_BINARY=test/test_bitcoin$(EXEEXT)
|
|
|
|
|
|
|
|
JSON_TEST_FILES = \
|
2018-03-24 20:37:10 -03:00
|
|
|
test/data/script_tests.json \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/data/base58_encode_decode.json \
|
2018-01-23 22:38:23 -03:00
|
|
|
test/data/blockfilters.json \
|
2017-09-20 20:57:44 -03:00
|
|
|
test/data/key_io_valid.json \
|
|
|
|
test/data/key_io_invalid.json \
|
|
|
|
test/data/script_tests.json \
|
|
|
|
test/data/sighash.json \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/data/tx_invalid.json \
|
2017-09-20 20:57:44 -03:00
|
|
|
test/data/tx_valid.json
|
2014-05-28 13:38:41 -04:00
|
|
|
|
2019-12-24 15:18:44 -03:00
|
|
|
RAW_TEST_FILES = \
|
|
|
|
test/data/asmap.raw
|
2014-05-28 13:38:41 -04:00
|
|
|
|
|
|
|
GENERATED_TEST_FILES = $(JSON_TEST_FILES:.json=.json.h) $(RAW_TEST_FILES:.raw=.raw.h)
|
|
|
|
|
2018-04-09 20:55:49 -03:00
|
|
|
BITCOIN_TEST_SUITE = \
|
2019-02-28 16:51:11 -03:00
|
|
|
test/main.cpp \
|
2019-11-21 17:13:08 -03:00
|
|
|
$(TEST_UTIL_H)
|
2018-04-09 20:55:49 -03:00
|
|
|
|
2019-02-28 17:04:03 -03:00
|
|
|
FUZZ_SUITE_LD_COMMON = \
|
|
|
|
$(LIBBITCOIN_SERVER) \
|
|
|
|
$(LIBBITCOIN_COMMON) \
|
|
|
|
$(LIBBITCOIN_UTIL) \
|
2019-11-21 17:13:08 -03:00
|
|
|
$(LIBTEST_UTIL) \
|
2020-04-04 20:01:13 -03:00
|
|
|
$(LIBTEST_FUZZ) \
|
2019-02-28 17:04:03 -03:00
|
|
|
$(LIBBITCOIN_CONSENSUS) \
|
|
|
|
$(LIBBITCOIN_CRYPTO) \
|
2019-10-03 06:11:40 -03:00
|
|
|
$(LIBBITCOIN_CLI) \
|
2019-02-28 17:04:03 -03:00
|
|
|
$(LIBUNIVALUE) \
|
|
|
|
$(LIBLEVELDB) \
|
|
|
|
$(LIBLEVELDB_SSE42) \
|
|
|
|
$(BOOST_LIBS) \
|
|
|
|
$(LIBMEMENV) \
|
|
|
|
$(LIBSECP256K1) \
|
|
|
|
$(EVENT_LIBS) \
|
|
|
|
$(EVENT_PTHREADS_LIBS)
|
|
|
|
|
2016-04-22 19:19:33 -03:00
|
|
|
# test_bitcoin binary #
|
2014-05-28 13:38:41 -04:00
|
|
|
BITCOIN_TESTS =\
|
2014-12-15 06:22:19 -03:00
|
|
|
test/arith_uint256_tests.cpp \
|
2015-11-25 09:19:48 -03:00
|
|
|
test/scriptnum10.h \
|
2015-09-22 16:24:16 -03:00
|
|
|
test/addrman_tests.cpp \
|
2016-03-17 12:47:15 -03:00
|
|
|
test/amount_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/allocator_tests.cpp \
|
|
|
|
test/base32_tests.cpp \
|
|
|
|
test/base58_tests.cpp \
|
|
|
|
test/base64_tests.cpp \
|
2017-08-25 22:12:39 -03:00
|
|
|
test/bech32_tests.cpp \
|
2015-04-23 08:20:18 -03:00
|
|
|
test/bip32_tests.cpp \
|
[Tests] Adding unit tests for GetDifficulty in blockchain.cpp.
blockchain.cpp has low unit test coverage. This commit is intended
to start improving its code coverage to reasonable levels. One or more
follow up commits will complete the task that this commit is starting
(though the usefulness of this commit is not dependent upon later
commits).
Note that these tests were not written based upon a specification of how
GetDifficulty *should* work, but rather how it actually *does* work. As
a result, if there are any bugs in the current GetDifficulty
implementation, these unit tests serve to lock them in rather than
expose them.
-- Why has blockchain.cpp been modified if this is a unit testing change?
Since the existing GetDifficulty function relies on a global variable,
chainActive, it was not suitable for unit testing purposes. Both the
existing GetDifficulty function and the unit tests now call through to
a new, more modular version of GetDifficulty that can work on any chain,
not just chainActive.
-- Why does blockchain_tests.cpp directly include blockchain.cpp instead
of blockchain.h?
While the new GetDifficulty function's signature is arguably better than
the old one's, it still isn't great, and doesn't seem to warrant inclusion
as part of the blockchain.h API, especially since only test code is
directly using it. If a better way of exposing the new GetDifficulty
function to unit tests exists, please mention it and the commit will be
updated accordingly.
-- Why is the test fixture named blockchain_difficulty_tests rather than
blockchain_tests?
The Bitcoin Core policy for naming unit test files is to match the the
file under test ("blockchain" becomes "blockchain_tests"). While this
commit complies with that, blockchain.cpp is a massive file, such that
having all of the unit tests in one file will tend towards disorder.
Since there will be a lot more tests added to this file, the intention
is to divide up different types of tests into different test fixtures
within the same file.
2017-11-21 20:40:02 -03:00
|
|
|
test/blockchain_tests.cpp \
|
2016-04-25 19:51:08 -03:00
|
|
|
test/blockencodings_tests.cpp \
|
2018-01-23 22:13:04 -03:00
|
|
|
test/blockfilter_tests.cpp \
|
2018-08-27 22:44:43 -03:00
|
|
|
test/blockfilter_index_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/bloom_tests.cpp \
|
2016-12-16 04:52:35 -03:00
|
|
|
test/bswap_tests.cpp \
|
2017-01-07 21:51:23 -03:00
|
|
|
test/checkqueue_tests.cpp \
|
2014-09-16 20:27:06 -03:00
|
|
|
test/coins_tests.cpp \
|
2019-05-08 16:29:44 -04:00
|
|
|
test/compilerbug_tests.cpp \
|
2014-10-31 05:36:30 -03:00
|
|
|
test/compress_tests.cpp \
|
2014-05-31 16:01:42 -04:00
|
|
|
test/crypto_tests.cpp \
|
2016-10-05 17:59:18 -03:00
|
|
|
test/cuckoocache_tests.cpp \
|
2018-05-23 08:14:58 -04:00
|
|
|
test/denialofservice_tests.cpp \
|
2018-07-15 22:32:09 -04:00
|
|
|
test/descriptor_tests.cpp \
|
2019-01-07 03:23:34 -03:00
|
|
|
test/flatfile_tests.cpp \
|
2018-09-07 10:12:24 -03:00
|
|
|
test/fs_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/getarg_tests.cpp \
|
2014-04-20 12:36:25 -03:00
|
|
|
test/hash_tests.cpp \
|
2020-02-24 16:34:17 -03:00
|
|
|
test/interfaces_tests.cpp \
|
2017-09-20 20:57:44 -03:00
|
|
|
test/key_io_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/key_tests.cpp \
|
2019-09-19 14:59:49 -03:00
|
|
|
test/logging_tests.cpp \
|
2015-10-22 22:33:06 -03:00
|
|
|
test/dbwrapper_tests.cpp \
|
2019-02-28 17:02:35 -03:00
|
|
|
test/validation_tests.cpp \
|
2015-03-25 14:13:09 -03:00
|
|
|
test/mempool_tests.cpp \
|
2015-11-17 13:35:44 -03:00
|
|
|
test/merkle_tests.cpp \
|
2017-09-11 21:43:48 -03:00
|
|
|
test/merkleblock_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/miner_tests.cpp \
|
|
|
|
test/multisig_tests.cpp \
|
2016-03-16 13:54:30 -03:00
|
|
|
test/net_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/netbase_tests.cpp \
|
|
|
|
test/pmt_tests.cpp \
|
2020-06-07 13:55:08 -04:00
|
|
|
test/policy_fee_tests.cpp \
|
2014-08-26 16:28:32 -04:00
|
|
|
test/policyestimator_tests.cpp \
|
2015-02-21 09:57:44 -03:00
|
|
|
test/pow_tests.cpp \
|
2015-10-29 03:11:24 -03:00
|
|
|
test/prevector_tests.cpp \
|
2016-12-21 01:43:49 -03:00
|
|
|
test/raii_event_tests.cpp \
|
2017-02-15 22:45:22 -03:00
|
|
|
test/random_tests.cpp \
|
2020-04-17 11:15:55 -04:00
|
|
|
test/ref_tests.cpp \
|
2015-09-03 13:53:00 -03:00
|
|
|
test/reverselock_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/rpc_tests.cpp \
|
2015-01-05 23:39:40 -03:00
|
|
|
test/sanity_tests.cpp \
|
2015-04-10 11:31:02 -03:00
|
|
|
test/scheduler_tests.cpp \
|
2018-05-23 08:14:58 -04:00
|
|
|
test/script_p2sh_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/script_tests.cpp \
|
2017-08-18 18:40:29 -03:00
|
|
|
test/script_standard_tests.cpp \
|
2014-10-31 05:36:30 -03:00
|
|
|
test/scriptnum_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/serialize_tests.cpp \
|
2019-05-06 15:31:18 -04:00
|
|
|
test/settings_tests.cpp \
|
2014-10-31 05:36:30 -03:00
|
|
|
test/sighash_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/sigopcount_tests.cpp \
|
2014-06-29 09:26:58 -04:00
|
|
|
test/skiplist_tests.cpp \
|
2015-09-07 19:22:23 -03:00
|
|
|
test/streams_tests.cpp \
|
2017-11-08 17:28:35 -03:00
|
|
|
test/sync_tests.cpp \
|
2020-01-30 08:07:57 -03:00
|
|
|
test/system_tests.cpp \
|
2018-05-05 15:11:46 -03:00
|
|
|
test/util_threadnames_tests.cpp \
|
2014-08-20 07:53:42 -04:00
|
|
|
test/timedata_tests.cpp \
|
2017-03-25 04:17:37 -03:00
|
|
|
test/torcontrol_tests.cpp \
|
2014-05-28 13:38:41 -04:00
|
|
|
test/transaction_tests.cpp \
|
2017-12-08 17:00:13 -03:00
|
|
|
test/txindex_tests.cpp \
|
2020-09-29 20:10:16 -03:00
|
|
|
test/txrequest_tests.cpp \
|
2017-11-18 05:48:34 -03:00
|
|
|
test/txvalidation_tests.cpp \
|
2015-03-03 11:59:32 -03:00
|
|
|
test/txvalidationcache_tests.cpp \
|
2014-12-16 11:50:31 -03:00
|
|
|
test/uint256_tests.cpp \
|
2018-04-18 09:01:48 -03:00
|
|
|
test/util_tests.cpp \
|
|
|
|
test/validation_block_tests.cpp \
|
2020-04-14 14:00:37 -04:00
|
|
|
test/validation_chainstate_tests.cpp \
|
2019-12-12 16:11:03 -03:00
|
|
|
test/validation_chainstatemanager_tests.cpp \
|
2019-09-24 15:10:18 -03:00
|
|
|
test/validation_flush_tests.cpp \
|
2020-04-07 08:03:39 -04:00
|
|
|
test/validationinterface_tests.cpp \
|
2018-04-18 09:01:48 -03:00
|
|
|
test/versionbits_tests.cpp
|
2014-05-28 13:38:41 -04:00
|
|
|
|
|
|
|
if ENABLE_WALLET
|
|
|
|
BITCOIN_TESTS += \
|
2018-06-27 20:05:54 -04:00
|
|
|
wallet/test/psbt_wallet_tests.cpp \
|
2015-02-03 17:09:47 -03:00
|
|
|
wallet/test/wallet_tests.cpp \
|
2020-03-10 04:42:31 -03:00
|
|
|
wallet/test/walletdb_tests.cpp \
|
2018-04-05 17:00:39 -03:00
|
|
|
wallet/test/wallet_crypto_tests.cpp \
|
2018-09-10 21:49:17 -03:00
|
|
|
wallet/test/coinselector_tests.cpp \
|
2019-06-06 03:53:16 -04:00
|
|
|
wallet/test/init_tests.cpp \
|
2020-02-04 19:24:48 -03:00
|
|
|
wallet/test/ismine_tests.cpp \
|
|
|
|
wallet/test/scriptpubkeyman_tests.cpp
|
2018-04-09 20:55:49 -03:00
|
|
|
|
2020-10-19 16:34:21 -03:00
|
|
|
if USE_BDB
|
|
|
|
BITCOIN_TESTS += wallet/test/db_tests.cpp
|
|
|
|
endif
|
|
|
|
|
2018-04-09 20:55:49 -03:00
|
|
|
BITCOIN_TEST_SUITE += \
|
|
|
|
wallet/test/wallet_test_fixture.cpp \
|
2018-09-10 21:49:17 -03:00
|
|
|
wallet/test/wallet_test_fixture.h \
|
|
|
|
wallet/test/init_test_fixture.cpp \
|
|
|
|
wallet/test/init_test_fixture.h
|
2014-05-28 13:38:41 -04:00
|
|
|
endif
|
|
|
|
|
2018-04-09 20:55:49 -03:00
|
|
|
test_test_bitcoin_SOURCES = $(BITCOIN_TEST_SUITE) $(BITCOIN_TESTS) $(JSON_TEST_FILES) $(RAW_TEST_FILES)
|
2017-08-15 11:40:30 -03:00
|
|
|
test_test_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(TESTDEFS) $(EVENT_CFLAGS)
|
2019-11-21 17:13:08 -03:00
|
|
|
test_test_bitcoin_LDADD = $(LIBTEST_UTIL)
|
2014-05-28 13:38:41 -04:00
|
|
|
if ENABLE_WALLET
|
|
|
|
test_test_bitcoin_LDADD += $(LIBBITCOIN_WALLET)
|
|
|
|
endif
|
2018-05-08 14:27:57 -03:00
|
|
|
|
2018-06-06 15:20:34 -04:00
|
|
|
test_test_bitcoin_LDADD += $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CONSENSUS) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) \
|
2017-07-07 10:03:24 -04:00
|
|
|
$(LIBLEVELDB) $(LIBLEVELDB_SSE42) $(LIBMEMENV) $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1) $(EVENT_LIBS) $(EVENT_PTHREADS_LIBS)
|
|
|
|
test_test_bitcoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
2014-06-06 10:57:28 -04:00
|
|
|
|
2020-05-26 20:52:59 -04:00
|
|
|
test_test_bitcoin_LDADD += $(BDB_LIBS) $(MINIUPNPC_LIBS) $(SQLITE_LIBS)
|
2020-07-17 02:43:29 -04:00
|
|
|
test_test_bitcoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS) -static
|
2014-05-28 13:38:41 -04:00
|
|
|
|
2014-11-18 14:06:32 -03:00
|
|
|
if ENABLE_ZMQ
|
2019-02-28 17:45:26 -03:00
|
|
|
test_test_bitcoin_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
|
2014-11-18 14:06:32 -03:00
|
|
|
endif
|
2019-01-25 20:35:36 -03:00
|
|
|
|
|
|
|
if ENABLE_FUZZ
|
2019-10-07 09:53:50 -03:00
|
|
|
|
2020-07-17 02:43:29 -04:00
|
|
|
FUZZ_SUITE_LDFLAGS_COMMON = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS)
|
2020-07-19 23:10:08 -04:00
|
|
|
|
2020-04-07 12:31:43 -04:00
|
|
|
test_fuzz_addition_overflow_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_addition_overflow_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_addition_overflow_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_addition_overflow_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-07 12:31:43 -04:00
|
|
|
test_fuzz_addition_overflow_SOURCES = test/fuzz/addition_overflow.cpp
|
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_addr_info_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DADDR_INFO_DESERIALIZE=1
|
|
|
|
test_fuzz_addr_info_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_addr_info_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_addr_info_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_addr_info_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2020-03-23 10:55:36 -03:00
|
|
|
test_fuzz_addrdb_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_addrdb_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_addrdb_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_addrdb_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_addrdb_SOURCES = test/fuzz/addrdb.cpp
|
2020-03-23 10:55:36 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_address_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DADDRESS_DESERIALIZE=1
|
|
|
|
test_fuzz_address_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_address_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_address_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_address_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2020-05-24 14:11:55 -04:00
|
|
|
test_fuzz_addrman_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_addrman_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_addrman_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
|
|
|
test_fuzz_addrman_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
|
|
|
test_fuzz_addrman_SOURCES = test/fuzz/addrman.cpp
|
|
|
|
|
2019-01-25 20:35:36 -03:00
|
|
|
test_fuzz_addrman_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DADDRMAN_DESERIALIZE=1
|
|
|
|
test_fuzz_addrman_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
2019-02-28 17:04:03 -03:00
|
|
|
test_fuzz_addrman_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_addrman_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_addrman_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2020-01-30 13:04:25 -03:00
|
|
|
test_fuzz_asmap_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_asmap_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_asmap_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_asmap_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_asmap_SOURCES = test/fuzz/asmap.cpp
|
2020-01-30 13:04:25 -03:00
|
|
|
|
2020-04-03 22:42:20 -03:00
|
|
|
test_fuzz_asmap_direct_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_asmap_direct_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_asmap_direct_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_asmap_direct_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-03 22:42:20 -03:00
|
|
|
test_fuzz_asmap_direct_SOURCES = test/fuzz/asmap_direct.cpp
|
|
|
|
|
2020-06-02 15:04:44 -04:00
|
|
|
test_fuzz_autofile_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_autofile_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_autofile_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_autofile_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-02 15:04:44 -04:00
|
|
|
test_fuzz_autofile_SOURCES = test/fuzz/autofile.cpp
|
|
|
|
|
2019-01-25 20:35:36 -03:00
|
|
|
test_fuzz_banentry_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBANENTRY_DESERIALIZE=1
|
|
|
|
test_fuzz_banentry_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
2019-02-28 17:04:03 -03:00
|
|
|
test_fuzz_banentry_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_banentry_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_banentry_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2020-06-09 07:16:13 -04:00
|
|
|
test_fuzz_banman_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_banman_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_banman_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_banman_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-09 07:16:13 -04:00
|
|
|
test_fuzz_banman_SOURCES = test/fuzz/banman.cpp
|
|
|
|
|
2019-10-23 09:37:59 -03:00
|
|
|
test_fuzz_base_encode_decode_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_base_encode_decode_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_base_encode_decode_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_base_encode_decode_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_base_encode_decode_SOURCES = test/fuzz/base_encode_decode.cpp
|
2019-10-23 09:37:59 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_bech32_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_bech32_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_bech32_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_bech32_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_bech32_SOURCES = test/fuzz/bech32.cpp
|
2019-10-01 07:26:20 -03:00
|
|
|
|
2019-10-07 09:53:50 -03:00
|
|
|
test_fuzz_block_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_block_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_block_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_block_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_block_SOURCES = test/fuzz/block.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
|
|
|
test_fuzz_block_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCK_DESERIALIZE=1
|
|
|
|
test_fuzz_block_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
2019-02-28 17:04:03 -03:00
|
|
|
test_fuzz_block_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_block_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_block_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-28 13:01:41 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_block_file_info_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCK_FILE_INFO_DESERIALIZE=1
|
|
|
|
test_fuzz_block_file_info_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_block_file_info_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_block_file_info_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_block_file_info_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-14 08:49:31 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_block_filter_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCK_FILTER_DESERIALIZE=1
|
|
|
|
test_fuzz_block_filter_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_block_filter_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_block_filter_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_block_filter_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-08 11:36:57 -03:00
|
|
|
|
2020-03-14 21:40:03 -03:00
|
|
|
test_fuzz_block_header_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_block_header_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_block_header_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_block_header_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_block_header_SOURCES = test/fuzz/block_header.cpp
|
2020-03-14 21:40:03 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_block_header_and_short_txids_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCK_HEADER_AND_SHORT_TXIDS_DESERIALIZE=1
|
|
|
|
test_fuzz_block_header_and_short_txids_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_block_header_and_short_txids_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_block_header_and_short_txids_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_block_header_and_short_txids_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-02-13 16:25:49 -03:00
|
|
|
|
2020-03-24 11:35:51 -03:00
|
|
|
test_fuzz_blockfilter_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_blockfilter_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_blockfilter_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_blockfilter_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_blockfilter_SOURCES = test/fuzz/blockfilter.cpp
|
2020-03-24 11:35:51 -03:00
|
|
|
|
2019-01-25 20:35:36 -03:00
|
|
|
test_fuzz_blockheader_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCKHEADER_DESERIALIZE=1
|
|
|
|
test_fuzz_blockheader_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
2019-02-28 17:04:03 -03:00
|
|
|
test_fuzz_blockheader_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_blockheader_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_blockheader_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_blocklocator_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCKLOCATOR_DESERIALIZE=1
|
|
|
|
test_fuzz_blocklocator_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_blocklocator_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_blocklocator_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_blocklocator_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-12 04:50:22 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_blockmerkleroot_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCKMERKLEROOT=1
|
|
|
|
test_fuzz_blockmerkleroot_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_blockmerkleroot_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_blockmerkleroot_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_blockmerkleroot_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_blocktransactions_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCKTRANSACTIONS_DESERIALIZE=1
|
|
|
|
test_fuzz_blocktransactions_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_blocktransactions_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_blocktransactions_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_blocktransactions_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_blocktransactionsrequest_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCKTRANSACTIONSREQUEST_DESERIALIZE=1
|
|
|
|
test_fuzz_blocktransactionsrequest_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_blocktransactionsrequest_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_blocktransactionsrequest_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_blocktransactionsrequest_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-23 12:08:48 -03:00
|
|
|
|
2019-01-25 20:35:36 -03:00
|
|
|
test_fuzz_blockundo_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCKUNDO_DESERIALIZE=1
|
|
|
|
test_fuzz_blockundo_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
2019-02-28 17:04:03 -03:00
|
|
|
test_fuzz_blockundo_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_blockundo_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_blockundo_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2020-02-24 17:35:10 -03:00
|
|
|
test_fuzz_bloom_filter_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_bloom_filter_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_bloom_filter_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_bloom_filter_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_bloom_filter_SOURCES = test/fuzz/bloom_filter.cpp
|
2020-02-24 17:35:10 -03:00
|
|
|
|
2019-01-25 20:35:36 -03:00
|
|
|
test_fuzz_bloomfilter_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOOMFILTER_DESERIALIZE=1
|
|
|
|
test_fuzz_bloomfilter_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
2019-02-28 17:04:03 -03:00
|
|
|
test_fuzz_bloomfilter_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_bloomfilter_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_bloomfilter_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2020-06-02 15:05:13 -04:00
|
|
|
test_fuzz_buffered_file_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_buffered_file_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_buffered_file_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_buffered_file_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-02 15:05:13 -04:00
|
|
|
test_fuzz_buffered_file_SOURCES = test/fuzz/buffered_file.cpp
|
|
|
|
|
2020-03-26 17:51:05 -03:00
|
|
|
test_fuzz_chain_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_chain_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_chain_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_chain_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_chain_SOURCES = test/fuzz/chain.cpp
|
2020-03-26 17:51:05 -03:00
|
|
|
|
2020-04-08 09:16:04 -04:00
|
|
|
test_fuzz_checkqueue_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_checkqueue_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_checkqueue_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_checkqueue_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-08 09:16:04 -04:00
|
|
|
test_fuzz_checkqueue_SOURCES = test/fuzz/checkqueue.cpp
|
|
|
|
|
2019-01-25 20:35:36 -03:00
|
|
|
test_fuzz_coins_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DCOINS_DESERIALIZE=1
|
|
|
|
test_fuzz_coins_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
2019-02-28 17:04:03 -03:00
|
|
|
test_fuzz_coins_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_coins_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_coins_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2020-04-28 08:27:56 -04:00
|
|
|
test_fuzz_coins_view_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_coins_view_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_coins_view_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_coins_view_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-28 08:27:56 -04:00
|
|
|
test_fuzz_coins_view_SOURCES = test/fuzz/coins_view.cpp
|
|
|
|
|
2020-10-18 13:20:04 -03:00
|
|
|
test_fuzz_connman_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_connman_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_connman_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
|
|
|
test_fuzz_connman_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
|
|
|
test_fuzz_connman_SOURCES = test/fuzz/connman.cpp
|
|
|
|
|
2020-06-15 13:20:54 -04:00
|
|
|
test_fuzz_crypto_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_crypto_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_crypto_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_crypto_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-15 13:20:54 -04:00
|
|
|
test_fuzz_crypto_SOURCES = test/fuzz/crypto.cpp
|
|
|
|
|
2020-06-16 09:03:01 -04:00
|
|
|
test_fuzz_crypto_aes256_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_crypto_aes256_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_crypto_aes256_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_crypto_aes256_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-16 09:03:01 -04:00
|
|
|
test_fuzz_crypto_aes256_SOURCES = test/fuzz/crypto_aes256.cpp
|
|
|
|
|
2020-06-16 09:57:40 -04:00
|
|
|
test_fuzz_crypto_aes256cbc_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_crypto_aes256cbc_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_crypto_aes256cbc_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_crypto_aes256cbc_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-16 09:57:40 -04:00
|
|
|
test_fuzz_crypto_aes256cbc_SOURCES = test/fuzz/crypto_aes256cbc.cpp
|
|
|
|
|
2020-06-17 07:12:05 -04:00
|
|
|
test_fuzz_crypto_chacha20_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_crypto_chacha20_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_crypto_chacha20_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_crypto_chacha20_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-17 07:12:05 -04:00
|
|
|
test_fuzz_crypto_chacha20_SOURCES = test/fuzz/crypto_chacha20.cpp
|
|
|
|
|
2020-06-17 11:22:38 -04:00
|
|
|
test_fuzz_crypto_chacha20_poly1305_aead_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_crypto_chacha20_poly1305_aead_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_crypto_chacha20_poly1305_aead_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_crypto_chacha20_poly1305_aead_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-17 11:22:38 -04:00
|
|
|
test_fuzz_crypto_chacha20_poly1305_aead_SOURCES = test/fuzz/crypto_chacha20_poly1305_aead.cpp
|
|
|
|
|
2020-06-11 08:41:54 -04:00
|
|
|
test_fuzz_crypto_common_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_crypto_common_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_crypto_common_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_crypto_common_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-11 08:41:54 -04:00
|
|
|
test_fuzz_crypto_common_SOURCES = test/fuzz/crypto_common.cpp
|
|
|
|
|
2020-06-17 05:49:09 -04:00
|
|
|
test_fuzz_crypto_hkdf_hmac_sha256_l32_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_crypto_hkdf_hmac_sha256_l32_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_crypto_hkdf_hmac_sha256_l32_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_crypto_hkdf_hmac_sha256_l32_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-17 05:49:09 -04:00
|
|
|
test_fuzz_crypto_hkdf_hmac_sha256_l32_SOURCES = test/fuzz/crypto_hkdf_hmac_sha256_l32.cpp
|
|
|
|
|
2020-06-17 05:47:42 -04:00
|
|
|
test_fuzz_crypto_poly1305_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_crypto_poly1305_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_crypto_poly1305_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_crypto_poly1305_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-17 05:47:42 -04:00
|
|
|
test_fuzz_crypto_poly1305_SOURCES = test/fuzz/crypto_poly1305.cpp
|
|
|
|
|
2020-04-08 09:48:37 -04:00
|
|
|
test_fuzz_cuckoocache_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_cuckoocache_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_cuckoocache_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_cuckoocache_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-08 09:48:37 -04:00
|
|
|
test_fuzz_cuckoocache_SOURCES = test/fuzz/cuckoocache.cpp
|
|
|
|
|
2019-12-19 16:26:42 -03:00
|
|
|
test_fuzz_decode_tx_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_decode_tx_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_decode_tx_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_decode_tx_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_decode_tx_SOURCES = test/fuzz/decode_tx.cpp
|
2019-12-19 16:26:42 -03:00
|
|
|
|
2019-10-01 07:26:20 -03:00
|
|
|
test_fuzz_descriptor_parse_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_descriptor_parse_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_descriptor_parse_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_descriptor_parse_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_descriptor_parse_SOURCES = test/fuzz/descriptor_parse.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
|
|
|
test_fuzz_diskblockindex_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DDISKBLOCKINDEX_DESERIALIZE=1
|
|
|
|
test_fuzz_diskblockindex_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
2019-02-28 17:04:03 -03:00
|
|
|
test_fuzz_diskblockindex_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_diskblockindex_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_diskblockindex_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-01-25 20:35:36 -03:00
|
|
|
|
2019-10-08 12:17:14 -03:00
|
|
|
test_fuzz_eval_script_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_eval_script_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_eval_script_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_eval_script_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_eval_script_SOURCES = test/fuzz/eval_script.cpp
|
2019-10-08 12:17:14 -03:00
|
|
|
|
2020-03-14 23:24:38 -03:00
|
|
|
test_fuzz_fee_rate_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_fee_rate_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_fee_rate_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_fee_rate_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_fee_rate_SOURCES = test/fuzz/fee_rate.cpp
|
2020-03-14 23:24:38 -03:00
|
|
|
|
2019-10-03 11:18:31 -03:00
|
|
|
test_fuzz_fee_rate_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DFEE_RATE_DESERIALIZE=1
|
|
|
|
test_fuzz_fee_rate_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_fee_rate_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_fee_rate_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_fee_rate_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2020-04-07 11:40:13 -04:00
|
|
|
test_fuzz_fees_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_fees_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_fees_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_fees_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-07 11:40:13 -04:00
|
|
|
test_fuzz_fees_SOURCES = test/fuzz/fees.cpp
|
|
|
|
|
2019-10-03 11:18:31 -03:00
|
|
|
test_fuzz_flat_file_pos_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DFLAT_FILE_POS_DESERIALIZE=1
|
|
|
|
test_fuzz_flat_file_pos_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_flat_file_pos_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_flat_file_pos_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_flat_file_pos_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
2020-03-27 11:12:11 -03:00
|
|
|
test_fuzz_flatfile_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_flatfile_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_flatfile_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_flatfile_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_flatfile_SOURCES = test/fuzz/flatfile.cpp
|
2020-03-27 11:12:11 -03:00
|
|
|
|
2020-01-23 14:26:19 -03:00
|
|
|
test_fuzz_float_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_float_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_float_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_float_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_float_SOURCES = test/fuzz/float.cpp
|
2020-01-23 14:26:19 -03:00
|
|
|
|
2020-02-21 12:57:02 -03:00
|
|
|
test_fuzz_golomb_rice_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_golomb_rice_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_golomb_rice_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_golomb_rice_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-02-21 12:57:02 -03:00
|
|
|
test_fuzz_golomb_rice_SOURCES = test/fuzz/golomb_rice.cpp
|
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_hex_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_hex_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_hex_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_hex_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_hex_SOURCES = test/fuzz/hex.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
2020-03-16 23:03:16 -03:00
|
|
|
test_fuzz_http_request_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_http_request_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_http_request_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_http_request_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-03-16 23:03:16 -03:00
|
|
|
test_fuzz_http_request_SOURCES = test/fuzz/http_request.cpp
|
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_integer_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_integer_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_integer_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_integer_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_integer_SOURCES = test/fuzz/integer.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
|
|
|
test_fuzz_inv_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DINV_DESERIALIZE=1
|
|
|
|
test_fuzz_inv_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_inv_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_inv_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_inv_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2020-01-21 09:22:55 -03:00
|
|
|
test_fuzz_key_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_key_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_key_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_key_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_key_SOURCES = test/fuzz/key.cpp
|
2020-01-21 09:22:55 -03:00
|
|
|
|
2020-01-14 13:38:36 -03:00
|
|
|
test_fuzz_key_io_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_key_io_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_key_io_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_key_io_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_key_io_SOURCES = test/fuzz/key_io.cpp
|
2020-01-14 13:38:36 -03:00
|
|
|
|
2019-10-03 11:18:31 -03:00
|
|
|
test_fuzz_key_origin_info_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DKEY_ORIGIN_INFO_DESERIALIZE=1
|
|
|
|
test_fuzz_key_origin_info_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_key_origin_info_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_key_origin_info_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_key_origin_info_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2020-04-22 09:53:50 -04:00
|
|
|
test_fuzz_kitchen_sink_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_kitchen_sink_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_kitchen_sink_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_kitchen_sink_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-22 09:53:50 -04:00
|
|
|
test_fuzz_kitchen_sink_SOURCES = test/fuzz/kitchen_sink.cpp
|
|
|
|
|
2020-06-02 15:05:46 -04:00
|
|
|
test_fuzz_load_external_block_file_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_load_external_block_file_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_load_external_block_file_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_load_external_block_file_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-02 15:05:46 -04:00
|
|
|
test_fuzz_load_external_block_file_SOURCES = test/fuzz/load_external_block_file.cpp
|
|
|
|
|
2020-02-11 12:25:51 -03:00
|
|
|
test_fuzz_locale_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_locale_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_locale_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_locale_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_locale_SOURCES = test/fuzz/locale.cpp
|
2020-02-11 12:25:51 -03:00
|
|
|
|
2019-10-03 11:18:31 -03:00
|
|
|
test_fuzz_merkle_block_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMERKLE_BLOCK_DESERIALIZE=1
|
|
|
|
test_fuzz_merkle_block_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_merkle_block_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_merkle_block_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_merkle_block_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
2020-03-27 17:55:47 -03:00
|
|
|
test_fuzz_merkleblock_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_merkleblock_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_merkleblock_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_merkleblock_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_merkleblock_SOURCES = test/fuzz/merkleblock.cpp
|
2020-03-27 17:55:47 -03:00
|
|
|
|
2020-04-27 10:03:36 -04:00
|
|
|
test_fuzz_message_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_message_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_message_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_message_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-27 10:03:36 -04:00
|
|
|
test_fuzz_message_SOURCES = test/fuzz/message.cpp
|
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_messageheader_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGEHEADER_DESERIALIZE=1
|
|
|
|
test_fuzz_messageheader_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_messageheader_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_messageheader_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_messageheader_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
2020-03-15 08:46:57 -03:00
|
|
|
test_fuzz_multiplication_overflow_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_multiplication_overflow_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_multiplication_overflow_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_multiplication_overflow_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_multiplication_overflow_SOURCES = test/fuzz/multiplication_overflow.cpp
|
2020-03-15 08:46:57 -03:00
|
|
|
|
2020-05-25 08:40:36 -04:00
|
|
|
test_fuzz_net_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_net_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_net_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_net_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-05-25 08:40:36 -04:00
|
|
|
test_fuzz_net_SOURCES = test/fuzz/net.cpp
|
|
|
|
|
2020-03-23 12:02:18 -03:00
|
|
|
test_fuzz_net_permissions_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_net_permissions_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_net_permissions_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_net_permissions_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_net_permissions_SOURCES = test/fuzz/net_permissions.cpp
|
2020-03-23 12:02:18 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_netaddr_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DNETADDR_DESERIALIZE=1
|
|
|
|
test_fuzz_netaddr_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_netaddr_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_netaddr_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_netaddr_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2020-01-31 19:37:07 -03:00
|
|
|
test_fuzz_netaddress_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_netaddress_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_netaddress_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_netaddress_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_netaddress_SOURCES = test/fuzz/netaddress.cpp
|
2020-01-31 19:37:07 -03:00
|
|
|
|
2019-10-03 11:18:31 -03:00
|
|
|
test_fuzz_out_point_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DOUT_POINT_DESERIALIZE=1
|
|
|
|
test_fuzz_out_point_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_out_point_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_out_point_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_out_point_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2019-12-18 13:25:20 -03:00
|
|
|
test_fuzz_p2p_transport_deserializer_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_p2p_transport_deserializer_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_p2p_transport_deserializer_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_p2p_transport_deserializer_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_p2p_transport_deserializer_SOURCES = test/fuzz/p2p_transport_deserializer.cpp
|
2019-12-18 13:25:20 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_parse_hd_keypath_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_parse_hd_keypath_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_parse_hd_keypath_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_parse_hd_keypath_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_parse_hd_keypath_SOURCES = test/fuzz/parse_hd_keypath.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
|
|
|
test_fuzz_parse_iso8601_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_parse_iso8601_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_parse_iso8601_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_parse_iso8601_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_parse_iso8601_SOURCES = test/fuzz/parse_iso8601.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
|
|
|
test_fuzz_parse_numbers_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_parse_numbers_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_parse_numbers_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_parse_numbers_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_parse_numbers_SOURCES = test/fuzz/parse_numbers.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
|
|
|
test_fuzz_parse_script_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_parse_script_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_parse_script_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_parse_script_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_parse_script_SOURCES = test/fuzz/parse_script.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
|
|
|
test_fuzz_parse_univalue_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_parse_univalue_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_parse_univalue_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_parse_univalue_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_parse_univalue_SOURCES = test/fuzz/parse_univalue.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2020-04-04 20:15:18 -03:00
|
|
|
test_fuzz_prevector_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_prevector_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_prevector_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_prevector_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:15:18 -03:00
|
|
|
test_fuzz_prevector_SOURCES = test/fuzz/prevector.cpp
|
|
|
|
|
2019-10-03 11:18:31 -03:00
|
|
|
test_fuzz_partial_merkle_tree_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DPARTIAL_MERKLE_TREE_DESERIALIZE=1
|
|
|
|
test_fuzz_partial_merkle_tree_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_partial_merkle_tree_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_partial_merkle_tree_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_partial_merkle_tree_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
|
|
|
test_fuzz_partially_signed_transaction_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DPARTIALLY_SIGNED_TRANSACTION_DESERIALIZE=1
|
|
|
|
test_fuzz_partially_signed_transaction_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_partially_signed_transaction_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_partially_signed_transaction_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_partially_signed_transaction_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2020-04-26 15:27:54 -04:00
|
|
|
test_fuzz_policy_estimator_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_policy_estimator_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_policy_estimator_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_policy_estimator_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-26 15:27:54 -04:00
|
|
|
test_fuzz_policy_estimator_SOURCES = test/fuzz/policy_estimator.cpp
|
|
|
|
|
2020-06-02 15:06:07 -04:00
|
|
|
test_fuzz_policy_estimator_io_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_policy_estimator_io_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_policy_estimator_io_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_policy_estimator_io_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-02 15:06:07 -04:00
|
|
|
test_fuzz_policy_estimator_io_SOURCES = test/fuzz/policy_estimator_io.cpp
|
|
|
|
|
2020-03-22 11:16:40 -03:00
|
|
|
test_fuzz_pow_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_pow_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_pow_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_pow_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_pow_SOURCES = test/fuzz/pow.cpp
|
2020-03-22 11:16:40 -03:00
|
|
|
|
2019-10-03 11:18:31 -03:00
|
|
|
test_fuzz_prefilled_transaction_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DPREFILLED_TRANSACTION_DESERIALIZE=1
|
|
|
|
test_fuzz_prefilled_transaction_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_prefilled_transaction_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_prefilled_transaction_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_prefilled_transaction_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
2020-04-24 08:15:26 -04:00
|
|
|
test_fuzz_primitives_transaction_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_primitives_transaction_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_primitives_transaction_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_primitives_transaction_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-24 08:15:26 -04:00
|
|
|
test_fuzz_primitives_transaction_SOURCES = test/fuzz/primitives_transaction.cpp
|
|
|
|
|
2020-04-03 20:30:51 -03:00
|
|
|
test_fuzz_process_messages_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_process_messages_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_messages_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_messages_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-03 20:30:51 -03:00
|
|
|
test_fuzz_process_messages_SOURCES = test/fuzz/process_messages.cpp
|
|
|
|
|
2020-01-22 17:23:48 -03:00
|
|
|
test_fuzz_process_message_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_process_message_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_SOURCES = test/fuzz/process_message.cpp
|
2020-01-22 17:23:48 -03:00
|
|
|
|
2020-01-23 08:47:12 -03:00
|
|
|
test_fuzz_process_message_addr_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=addr
|
|
|
|
test_fuzz_process_message_addr_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_addr_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_addr_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_addr_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_block_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=block
|
|
|
|
test_fuzz_process_message_block_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_block_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_block_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_block_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_blocktxn_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=blocktxn
|
|
|
|
test_fuzz_process_message_blocktxn_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_blocktxn_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_blocktxn_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_blocktxn_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_cmpctblock_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=cmpctblock
|
|
|
|
test_fuzz_process_message_cmpctblock_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_cmpctblock_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_cmpctblock_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_cmpctblock_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_feefilter_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=feefilter
|
|
|
|
test_fuzz_process_message_feefilter_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_feefilter_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_feefilter_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_feefilter_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_filteradd_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=filteradd
|
|
|
|
test_fuzz_process_message_filteradd_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_filteradd_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_filteradd_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_filteradd_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_filterclear_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=filterclear
|
|
|
|
test_fuzz_process_message_filterclear_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_filterclear_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_filterclear_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_filterclear_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_filterload_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=filterload
|
|
|
|
test_fuzz_process_message_filterload_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_filterload_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_filterload_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_filterload_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_getaddr_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=getaddr
|
|
|
|
test_fuzz_process_message_getaddr_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_getaddr_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_getaddr_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_getaddr_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_getblocks_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=getblocks
|
|
|
|
test_fuzz_process_message_getblocks_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_getblocks_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_getblocks_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_getblocks_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_getblocktxn_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=getblocktxn
|
|
|
|
test_fuzz_process_message_getblocktxn_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_getblocktxn_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_getblocktxn_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_getblocktxn_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_getdata_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=getdata
|
|
|
|
test_fuzz_process_message_getdata_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_getdata_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_getdata_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_getdata_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_getheaders_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=getheaders
|
|
|
|
test_fuzz_process_message_getheaders_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_getheaders_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_getheaders_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_getheaders_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_headers_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=headers
|
|
|
|
test_fuzz_process_message_headers_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_headers_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_headers_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_headers_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_inv_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=inv
|
|
|
|
test_fuzz_process_message_inv_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_inv_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_inv_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_inv_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_mempool_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=mempool
|
|
|
|
test_fuzz_process_message_mempool_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_mempool_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_mempool_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_mempool_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_notfound_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=notfound
|
|
|
|
test_fuzz_process_message_notfound_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_notfound_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_notfound_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_notfound_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_ping_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=ping
|
|
|
|
test_fuzz_process_message_ping_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_ping_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_ping_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_ping_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_pong_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=pong
|
|
|
|
test_fuzz_process_message_pong_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_pong_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_pong_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_pong_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_sendcmpct_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=sendcmpct
|
|
|
|
test_fuzz_process_message_sendcmpct_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_sendcmpct_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_sendcmpct_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_sendcmpct_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_sendheaders_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=sendheaders
|
|
|
|
test_fuzz_process_message_sendheaders_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_sendheaders_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_sendheaders_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_sendheaders_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_tx_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=tx
|
|
|
|
test_fuzz_process_message_tx_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_tx_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_tx_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_tx_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_verack_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=verack
|
|
|
|
test_fuzz_process_message_verack_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_verack_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_verack_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_verack_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
|
|
|
test_fuzz_process_message_version_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DMESSAGE_TYPE=version
|
|
|
|
test_fuzz_process_message_version_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_process_message_version_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_process_message_version_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_process_message_version_SOURCES = test/fuzz/process_message.cpp
|
2020-01-23 08:47:12 -03:00
|
|
|
|
2020-03-26 16:37:55 -03:00
|
|
|
test_fuzz_protocol_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_protocol_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_protocol_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_protocol_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_protocol_SOURCES = test/fuzz/protocol.cpp
|
2020-03-26 16:37:55 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_psbt_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_psbt_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_psbt_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_psbt_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_psbt_SOURCES = test/fuzz/psbt.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
|
|
|
test_fuzz_psbt_input_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DPSBT_INPUT_DESERIALIZE=1
|
|
|
|
test_fuzz_psbt_input_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_psbt_input_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_psbt_input_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_psbt_input_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
|
|
|
test_fuzz_psbt_output_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DPSBT_OUTPUT_DESERIALIZE=1
|
|
|
|
test_fuzz_psbt_output_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_psbt_output_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_psbt_output_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_psbt_output_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
|
|
|
test_fuzz_pub_key_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DPUB_KEY_DESERIALIZE=1
|
|
|
|
test_fuzz_pub_key_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_pub_key_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_pub_key_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_pub_key_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
2020-03-28 05:56:38 -03:00
|
|
|
test_fuzz_random_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_random_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_random_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_random_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_random_SOURCES = test/fuzz/random.cpp
|
2020-03-28 05:56:38 -03:00
|
|
|
|
2020-04-26 15:29:03 -04:00
|
|
|
test_fuzz_rbf_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_rbf_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_rbf_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_rbf_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-26 15:29:03 -04:00
|
|
|
test_fuzz_rbf_SOURCES = test/fuzz/rbf.cpp
|
|
|
|
|
2020-02-24 17:48:22 -03:00
|
|
|
test_fuzz_rolling_bloom_filter_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_rolling_bloom_filter_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_rolling_bloom_filter_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_rolling_bloom_filter_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_rolling_bloom_filter_SOURCES = test/fuzz/rolling_bloom_filter.cpp
|
2020-02-24 17:48:22 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_script_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_script_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_script_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_script_SOURCES = test/fuzz/script.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2020-05-16 14:17:25 -04:00
|
|
|
test_fuzz_script_bitcoin_consensus_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_script_bitcoin_consensus_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_bitcoin_consensus_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_script_bitcoin_consensus_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-05-16 14:17:25 -04:00
|
|
|
test_fuzz_script_bitcoin_consensus_SOURCES = test/fuzz/script_bitcoin_consensus.cpp
|
|
|
|
|
2020-05-16 14:18:07 -04:00
|
|
|
test_fuzz_script_descriptor_cache_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_script_descriptor_cache_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_descriptor_cache_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_script_descriptor_cache_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-05-16 14:18:07 -04:00
|
|
|
test_fuzz_script_descriptor_cache_SOURCES = test/fuzz/script_descriptor_cache.cpp
|
|
|
|
|
2019-10-03 11:18:31 -03:00
|
|
|
test_fuzz_script_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DSCRIPT_DESERIALIZE=1
|
|
|
|
test_fuzz_script_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_script_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_script_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
|
|
|
test_fuzz_script_flags_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_script_flags_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_flags_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_script_flags_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_script_flags_SOURCES = test/fuzz/script_flags.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
2020-05-16 14:18:49 -04:00
|
|
|
test_fuzz_script_interpreter_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_script_interpreter_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_interpreter_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_script_interpreter_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-05-16 14:18:49 -04:00
|
|
|
test_fuzz_script_interpreter_SOURCES = test/fuzz/script_interpreter.cpp
|
|
|
|
|
2020-10-02 03:24:00 -03:00
|
|
|
test_fuzz_script_assets_test_minimizer_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_script_assets_test_minimizer_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_assets_test_minimizer_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-10-21 17:20:14 -03:00
|
|
|
test_fuzz_script_assets_test_minimizer_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-10-02 03:24:00 -03:00
|
|
|
test_fuzz_script_assets_test_minimizer_SOURCES = test/fuzz/script_assets_test_minimizer.cpp
|
|
|
|
|
2020-02-18 13:41:16 -03:00
|
|
|
test_fuzz_script_ops_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_script_ops_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_ops_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_script_ops_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_script_ops_SOURCES = test/fuzz/script_ops.cpp
|
2020-02-18 13:41:16 -03:00
|
|
|
|
2020-05-16 14:20:15 -04:00
|
|
|
test_fuzz_script_sigcache_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_script_sigcache_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_sigcache_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_script_sigcache_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-05-16 14:20:15 -04:00
|
|
|
test_fuzz_script_sigcache_SOURCES = test/fuzz/script_sigcache.cpp
|
|
|
|
|
2020-05-16 14:20:39 -04:00
|
|
|
test_fuzz_script_sign_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_script_sign_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_script_sign_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_script_sign_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-05-16 14:20:39 -04:00
|
|
|
test_fuzz_script_sign_SOURCES = test/fuzz/script_sign.cpp
|
|
|
|
|
2020-02-19 12:18:13 -03:00
|
|
|
test_fuzz_scriptnum_ops_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_scriptnum_ops_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_scriptnum_ops_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_scriptnum_ops_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_scriptnum_ops_SOURCES = test/fuzz/scriptnum_ops.cpp
|
2020-02-19 12:18:13 -03:00
|
|
|
|
2020-06-25 09:06:18 -04:00
|
|
|
test_fuzz_secp256k1_ec_seckey_import_export_der_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_secp256k1_ec_seckey_import_export_der_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_secp256k1_ec_seckey_import_export_der_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_secp256k1_ec_seckey_import_export_der_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-25 09:06:18 -04:00
|
|
|
test_fuzz_secp256k1_ec_seckey_import_export_der_SOURCES = test/fuzz/secp256k1_ec_seckey_import_export_der.cpp
|
|
|
|
|
2020-06-25 05:58:13 -04:00
|
|
|
test_fuzz_secp256k1_ecdsa_signature_parse_der_lax_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_secp256k1_ecdsa_signature_parse_der_lax_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_secp256k1_ecdsa_signature_parse_der_lax_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_secp256k1_ecdsa_signature_parse_der_lax_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-06-25 05:58:13 -04:00
|
|
|
test_fuzz_secp256k1_ecdsa_signature_parse_der_lax_SOURCES = test/fuzz/secp256k1_ecdsa_signature_parse_der_lax.cpp
|
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_service_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DSERVICE_DESERIALIZE=1
|
|
|
|
test_fuzz_service_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_service_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_service_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_service_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
2020-02-15 17:42:50 -03:00
|
|
|
test_fuzz_signature_checker_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_signature_checker_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_signature_checker_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_signature_checker_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_signature_checker_SOURCES = test/fuzz/signature_checker.cpp
|
2020-02-15 17:42:50 -03:00
|
|
|
|
2020-08-17 05:41:37 -04:00
|
|
|
test_fuzz_signet_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_signet_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_signet_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
|
|
|
test_fuzz_signet_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
|
|
|
test_fuzz_signet_SOURCES = test/fuzz/signet.cpp
|
|
|
|
|
2020-03-15 11:08:34 -03:00
|
|
|
test_fuzz_snapshotmetadata_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DSNAPSHOTMETADATA_DESERIALIZE=1
|
|
|
|
test_fuzz_snapshotmetadata_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_snapshotmetadata_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_snapshotmetadata_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_snapshotmetadata_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2020-03-15 11:08:34 -03:00
|
|
|
|
2020-03-27 18:12:28 -03:00
|
|
|
test_fuzz_span_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_span_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_span_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_span_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_span_SOURCES = test/fuzz/span.cpp
|
2020-03-27 18:12:28 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_spanparsing_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_spanparsing_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_spanparsing_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_spanparsing_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_spanparsing_SOURCES = test/fuzz/spanparsing.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2020-03-15 11:08:34 -03:00
|
|
|
test_fuzz_string_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_string_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_string_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_string_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_string_SOURCES = test/fuzz/string.cpp
|
2020-03-15 11:08:34 -03:00
|
|
|
|
2020-01-26 19:12:11 -03:00
|
|
|
test_fuzz_strprintf_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_strprintf_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_strprintf_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_strprintf_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_strprintf_SOURCES = test/fuzz/strprintf.cpp
|
2020-01-26 19:12:11 -03:00
|
|
|
|
2019-10-03 11:18:31 -03:00
|
|
|
test_fuzz_sub_net_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DSUB_NET_DESERIALIZE=1
|
|
|
|
test_fuzz_sub_net_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_sub_net_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_sub_net_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_sub_net_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2020-03-09 09:14:01 -03:00
|
|
|
|
2020-04-22 09:54:41 -04:00
|
|
|
test_fuzz_system_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_system_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_system_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_system_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-22 09:54:41 -04:00
|
|
|
test_fuzz_system_SOURCES = test/fuzz/system.cpp
|
|
|
|
|
2020-03-23 11:18:07 -03:00
|
|
|
test_fuzz_timedata_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_timedata_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_timedata_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_timedata_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_timedata_SOURCES = test/fuzz/timedata.cpp
|
2020-03-23 11:18:07 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_transaction_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_transaction_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_transaction_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_transaction_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_transaction_SOURCES = test/fuzz/transaction.cpp
|
2019-10-03 11:18:31 -03:00
|
|
|
|
2019-10-09 10:07:31 -03:00
|
|
|
test_fuzz_tx_in_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_tx_in_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_tx_in_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_tx_in_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_tx_in_SOURCES = test/fuzz/tx_in.cpp
|
2019-12-19 16:27:14 -03:00
|
|
|
|
|
|
|
test_fuzz_tx_in_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DTX_IN_DESERIALIZE=1
|
|
|
|
test_fuzz_tx_in_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_tx_in_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_tx_in_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_tx_in_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-09 10:07:31 -03:00
|
|
|
|
2019-10-09 10:14:52 -03:00
|
|
|
test_fuzz_tx_out_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_tx_out_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_tx_out_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_tx_out_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_tx_out_SOURCES = test/fuzz/tx_out.cpp
|
2019-10-09 10:14:52 -03:00
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_txoutcompressor_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DTXOUTCOMPRESSOR_DESERIALIZE=1
|
|
|
|
test_fuzz_txoutcompressor_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_txoutcompressor_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_txoutcompressor_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_txoutcompressor_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-02 09:01:52 -03:00
|
|
|
|
2020-09-21 01:18:59 -03:00
|
|
|
test_fuzz_txrequest_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
|
|
|
|
test_fuzz_txrequest_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_txrequest_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
|
|
|
test_fuzz_txrequest_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
|
|
|
test_fuzz_txrequest_SOURCES = test/fuzz/txrequest.cpp
|
|
|
|
|
2019-12-19 16:27:14 -03:00
|
|
|
test_fuzz_txundo_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DTXUNDO_DESERIALIZE=1
|
|
|
|
test_fuzz_txundo_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_txundo_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_txundo_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_txundo_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2019-10-03 06:11:40 -03:00
|
|
|
|
2020-03-09 09:14:01 -03:00
|
|
|
test_fuzz_uint160_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DUINT160_DESERIALIZE=1
|
|
|
|
test_fuzz_uint160_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_uint160_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_uint160_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_uint160_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2020-03-09 09:14:01 -03:00
|
|
|
|
|
|
|
test_fuzz_uint256_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DUINT256_DESERIALIZE=1
|
|
|
|
test_fuzz_uint256_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
|
|
test_fuzz_uint256_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
2020-07-19 23:10:08 -04:00
|
|
|
test_fuzz_uint256_deserialize_LDFLAGS = $(FUZZ_SUITE_LDFLAGS_COMMON)
|
2020-04-04 20:01:13 -03:00
|
|
|
test_fuzz_uint256_deserialize_SOURCES = test/fuzz/deserialize.cpp
|
2020-03-09 09:14:01 -03:00
|
|
|
|
2019-01-25 20:35:36 -03:00
|
|
|
endif # ENABLE_FUZZ
|
2014-11-18 14:06:32 -03:00
|
|
|
|
2014-05-28 13:38:41 -04:00
|
|
|
nodist_test_test_bitcoin_SOURCES = $(GENERATED_TEST_FILES)
|
|
|
|
|
|
|
|
$(BITCOIN_TESTS): $(GENERATED_TEST_FILES)
|
|
|
|
|
2020-08-14 07:38:28 -04:00
|
|
|
CLEAN_BITCOIN_TEST = test/*.gcda test/*.gcno test/fuzz/*.gcda test/fuzz/*.gcno test/util/*.gcda test/util/*.gcno $(GENERATED_TEST_FILES) $(BITCOIN_TESTS:=.log)
|
2014-05-28 13:38:41 -04:00
|
|
|
|
|
|
|
CLEANFILES += $(CLEAN_BITCOIN_TEST)
|
|
|
|
|
2018-08-28 08:50:41 -03:00
|
|
|
if TARGET_WINDOWS
|
2014-05-28 13:38:41 -04:00
|
|
|
bitcoin_test: $(TEST_BINARY)
|
2018-08-28 08:50:41 -03:00
|
|
|
else
|
|
|
|
if ENABLE_BENCH
|
|
|
|
bitcoin_test: $(TEST_BINARY) $(BENCH_BINARY)
|
|
|
|
else
|
|
|
|
bitcoin_test: $(TEST_BINARY)
|
|
|
|
endif
|
|
|
|
endif
|
2014-05-28 13:38:41 -04:00
|
|
|
|
|
|
|
bitcoin_test_check: $(TEST_BINARY) FORCE
|
|
|
|
$(MAKE) check-TESTS TESTS=$^
|
|
|
|
|
|
|
|
bitcoin_test_clean : FORCE
|
|
|
|
rm -f $(CLEAN_BITCOIN_TEST) $(test_test_bitcoin_OBJECTS) $(TEST_BINARY)
|
2014-06-04 17:13:03 -04:00
|
|
|
|
2018-04-09 20:56:25 -03:00
|
|
|
check-local: $(BITCOIN_TESTS:.cpp=.cpp.test)
|
2018-01-23 00:53:26 -03:00
|
|
|
if BUILD_BITCOIN_TX
|
2017-03-08 19:46:18 -03:00
|
|
|
@echo "Running test/util/bitcoin-util-test.py..."
|
2017-10-01 06:19:49 -03:00
|
|
|
$(PYTHON) $(top_builddir)/test/util/bitcoin-util-test.py
|
2018-01-23 00:53:26 -03:00
|
|
|
endif
|
2018-04-23 04:39:12 -03:00
|
|
|
@echo "Running test/util/rpcauth-test.py..."
|
|
|
|
$(PYTHON) $(top_builddir)/test/util/rpcauth-test.py
|
2018-08-28 08:50:41 -03:00
|
|
|
if TARGET_WINDOWS
|
|
|
|
else
|
|
|
|
if ENABLE_BENCH
|
Replace current benchmarking framework with nanobench
This replaces the current benchmarking framework with nanobench [1], an
MIT licensed single-header benchmarking library, of which I am the
autor. This has in my opinion several advantages, especially on Linux:
* fast: Running all benchmarks takes ~6 seconds instead of 4m13s on
an Intel i7-8700 CPU @ 3.20GHz.
* accurate: I ran e.g. the benchmark for SipHash_32b 10 times and
calculate standard deviation / mean = coefficient of variation:
* 0.57% CV for old benchmarking framework
* 0.20% CV for nanobench
So the benchmark results with nanobench seem to vary less than with
the old framework.
* It automatically determines runtime based on clock precision, no need
to specify number of evaluations.
* measure instructions, cycles, branches, instructions per cycle,
branch misses (only Linux, when performance counters are available)
* output in markdown table format.
* Warn about unstable environment (frequency scaling, turbo, ...)
* For better profiling, it is possible to set the environment variable
NANOBENCH_ENDLESS to force endless running of a particular benchmark
without the need to recompile. This makes it to e.g. run "perf top"
and look at hotspots.
Here is an example copy & pasted from the terminal output:
| ns/byte | byte/s | err% | ins/byte | cyc/byte | IPC | bra/byte | miss% | total | benchmark
|--------------------:|--------------------:|--------:|----------------:|----------------:|-------:|---------------:|--------:|----------:|:----------
| 2.52 | 396,529,415.94 | 0.6% | 25.42 | 8.02 | 3.169 | 0.06 | 0.0% | 0.03 | `bench/crypto_hash.cpp RIPEMD160`
| 1.87 | 535,161,444.83 | 0.3% | 21.36 | 5.95 | 3.589 | 0.06 | 0.0% | 0.02 | `bench/crypto_hash.cpp SHA1`
| 3.22 | 310,344,174.79 | 1.1% | 36.80 | 10.22 | 3.601 | 0.09 | 0.0% | 0.04 | `bench/crypto_hash.cpp SHA256`
| 2.01 | 496,375,796.23 | 0.0% | 18.72 | 6.43 | 2.911 | 0.01 | 1.0% | 0.00 | `bench/crypto_hash.cpp SHA256D64_1024`
| 7.23 | 138,263,519.35 | 0.1% | 82.66 | 23.11 | 3.577 | 1.63 | 0.1% | 0.00 | `bench/crypto_hash.cpp SHA256_32b`
| 3.04 | 328,780,166.40 | 0.3% | 35.82 | 9.69 | 3.696 | 0.03 | 0.0% | 0.03 | `bench/crypto_hash.cpp SHA512`
[1] https://github.com/martinus/nanobench
* Adds support for asymptotes
This adds support to calculate asymptotic complexity of a benchmark.
This is similar to #17375, but currently only one asymptote is
supported, and I have added support in the benchmark `ComplexMemPool`
as an example.
Usage is e.g. like this:
```
./bench_bitcoin -filter=ComplexMemPool -asymptote=25,50,100,200,400,600,800
```
This runs the benchmark `ComplexMemPool` several times but with
different complexityN settings. The benchmark can extract that number
and use it accordingly. Here, it's used for `childTxs`. The output is
this:
| complexityN | ns/op | op/s | err% | ins/op | cyc/op | IPC | total | benchmark
|------------:|--------------------:|--------------------:|--------:|----------------:|----------------:|-------:|----------:|:----------
| 25 | 1,064,241.00 | 939.64 | 1.4% | 3,960,279.00 | 2,829,708.00 | 1.400 | 0.01 | `ComplexMemPool`
| 50 | 1,579,530.00 | 633.10 | 1.0% | 6,231,810.00 | 4,412,674.00 | 1.412 | 0.02 | `ComplexMemPool`
| 100 | 4,022,774.00 | 248.58 | 0.6% | 16,544,406.00 | 11,889,535.00 | 1.392 | 0.04 | `ComplexMemPool`
| 200 | 15,390,986.00 | 64.97 | 0.2% | 63,904,254.00 | 47,731,705.00 | 1.339 | 0.17 | `ComplexMemPool`
| 400 | 69,394,711.00 | 14.41 | 0.1% | 272,602,461.00 | 219,014,691.00 | 1.245 | 0.76 | `ComplexMemPool`
| 600 | 168,977,165.00 | 5.92 | 0.1% | 639,108,082.00 | 535,316,887.00 | 1.194 | 1.86 | `ComplexMemPool`
| 800 | 310,109,077.00 | 3.22 | 0.1% |1,149,134,246.00 | 984,620,812.00 | 1.167 | 3.41 | `ComplexMemPool`
| coefficient | err% | complexity
|--------------:|-------:|------------
| 4.78486e-07 | 4.5% | O(n^2)
| 6.38557e-10 | 21.7% | O(n^3)
| 3.42338e-05 | 38.0% | O(n log n)
| 0.000313914 | 46.9% | O(n)
| 0.0129823 | 114.4% | O(log n)
| 0.0815055 | 133.8% | O(1)
The best fitting curve is O(n^2), so the algorithm seems to scale
quadratic with `childTxs` in the range 25 to 800.
2020-06-13 03:37:27 -04:00
|
|
|
@echo "Running bench/bench_bitcoin ..."
|
|
|
|
$(BENCH_BINARY) > /dev/null
|
2018-08-28 08:50:41 -03:00
|
|
|
endif
|
|
|
|
endif
|
2014-11-05 22:56:45 -03:00
|
|
|
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C secp256k1 check
|
2016-01-13 21:26:23 -03:00
|
|
|
if EMBEDDED_UNIVALUE
|
2015-09-04 11:11:34 -03:00
|
|
|
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C univalue check
|
2016-01-13 21:26:23 -03:00
|
|
|
endif
|
2014-11-05 22:56:45 -03:00
|
|
|
|
2018-04-09 20:56:25 -03:00
|
|
|
%.cpp.test: %.cpp
|
2018-05-31 04:30:38 -04:00
|
|
|
@echo Running tests: `cat $< | grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1` from $<
|
2020-03-30 14:59:13 -03:00
|
|
|
$(AM_V_at)$(TEST_BINARY) --catch_system_errors=no -l test_suite -t "`cat $< | grep -E "(BOOST_FIXTURE_TEST_SUITE\\(|BOOST_AUTO_TEST_SUITE\\()" | cut -d '(' -f 2 | cut -d ',' -f 1 | cut -d ')' -f 1`" -- DEBUG_LOG_OUT > $<.log 2>&1 || (cat $<.log && false)
|
2018-04-09 20:56:25 -03:00
|
|
|
|
2014-06-04 17:13:03 -04:00
|
|
|
%.json.h: %.json
|
|
|
|
@$(MKDIR_P) $(@D)
|
2016-11-12 04:15:02 -03:00
|
|
|
@{ \
|
|
|
|
echo "namespace json_tests{" && \
|
|
|
|
echo "static unsigned const char $(*F)[] = {" && \
|
|
|
|
$(HEXDUMP) -v -e '8/1 "0x%02x, "' -e '"\n"' $< | $(SED) -e 's/0x ,//g' && \
|
|
|
|
echo "};};"; \
|
|
|
|
} > "$@.new" && mv -f "$@.new" "$@"
|
2014-06-04 17:13:03 -04:00
|
|
|
@echo "Generated $@"
|
2019-12-24 15:18:44 -03:00
|
|
|
|
|
|
|
%.raw.h: %.raw
|
|
|
|
@$(MKDIR_P) $(@D)
|
|
|
|
@{ \
|
|
|
|
echo "static unsigned const char $(*F)_raw[] = {" && \
|
|
|
|
$(HEXDUMP) -v -e '8/1 "0x%02x, "' -e '"\n"' $< | $(SED) -e 's/0x ,//g' && \
|
|
|
|
echo "};"; \
|
|
|
|
} > "$@.new" && mv -f "$@.new" "$@"
|
|
|
|
@echo "Generated $@"
|