mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 19:23:26 -03:00
tests: Remove TRANSACTION_DESERIALIZE (replaced by transaction fuzzer)
This commit is contained in:
parent
0a573682f2
commit
5c2987636f
2 changed files with 0 additions and 12 deletions
|
@ -23,7 +23,6 @@ FUZZ_TARGETS = \
|
||||||
test/fuzz/script_flags \
|
test/fuzz/script_flags \
|
||||||
test/fuzz/service_deserialize \
|
test/fuzz/service_deserialize \
|
||||||
test/fuzz/transaction \
|
test/fuzz/transaction \
|
||||||
test/fuzz/transaction_deserialize \
|
|
||||||
test/fuzz/txoutcompressor_deserialize \
|
test/fuzz/txoutcompressor_deserialize \
|
||||||
test/fuzz/txundo_deserialize
|
test/fuzz/txundo_deserialize
|
||||||
|
|
||||||
|
@ -203,12 +202,6 @@ test_fuzz_block_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
||||||
test_fuzz_block_deserialize_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
test_fuzz_block_deserialize_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
||||||
test_fuzz_block_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
test_fuzz_block_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
||||||
|
|
||||||
test_fuzz_transaction_deserialize_SOURCES = $(FUZZ_SUITE) test/fuzz/deserialize.cpp
|
|
||||||
test_fuzz_transaction_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DTRANSACTION_DESERIALIZE=1
|
|
||||||
test_fuzz_transaction_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
||||||
test_fuzz_transaction_deserialize_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
|
||||||
test_fuzz_transaction_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
|
|
||||||
|
|
||||||
test_fuzz_blocklocator_deserialize_SOURCES = $(FUZZ_SUITE) test/fuzz/deserialize.cpp
|
test_fuzz_blocklocator_deserialize_SOURCES = $(FUZZ_SUITE) test/fuzz/deserialize.cpp
|
||||||
test_fuzz_blocklocator_deserialize_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) -DBLOCKLOCATOR_DESERIALIZE=1
|
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_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
||||||
|
|
|
@ -40,11 +40,6 @@ void test_one_input(const std::vector<uint8_t>& buffer)
|
||||||
CBlock block;
|
CBlock block;
|
||||||
ds >> block;
|
ds >> block;
|
||||||
} catch (const std::ios_base::failure& e) {return;}
|
} catch (const std::ios_base::failure& e) {return;}
|
||||||
#elif TRANSACTION_DESERIALIZE
|
|
||||||
try
|
|
||||||
{
|
|
||||||
CTransaction tx(deserialize, ds);
|
|
||||||
} catch (const std::ios_base::failure& e) {return;}
|
|
||||||
#elif BLOCKLOCATOR_DESERIALIZE
|
#elif BLOCKLOCATOR_DESERIALIZE
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue