aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.test.include
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2019-10-09 13:07:31 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2019-12-06 09:10:31 +0000
commitce935292c041162e160d95fc6afeda3dceded2cf (patch)
treee880e8d2f3eae3d74dde6b151f72440dd5b80b8e /src/Makefile.test.include
parentcb11324a63ef10475bfc4d8e45148d5ae6f3e71e (diff)
downloadbitcoin-ce935292c041162e160d95fc6afeda3dceded2cf.tar.xz
tests: Add fuzzing harness for various CTxIn related functions
Diffstat (limited to 'src/Makefile.test.include')
-rw-r--r--src/Makefile.test.include7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Makefile.test.include b/src/Makefile.test.include
index 6ae15cc553..d1f6589cf8 100644
--- a/src/Makefile.test.include
+++ b/src/Makefile.test.include
@@ -47,6 +47,7 @@ FUZZ_TARGETS = \
test/fuzz/spanparsing \
test/fuzz/sub_net_deserialize \
test/fuzz/transaction \
+ test/fuzz/tx_in \
test/fuzz/tx_in_deserialize \
test/fuzz/txoutcompressor_deserialize \
test/fuzz/txundo_deserialize
@@ -497,6 +498,12 @@ test_fuzz_tx_in_deserialize_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
test_fuzz_tx_in_deserialize_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
test_fuzz_tx_in_deserialize_LDADD = $(FUZZ_SUITE_LD_COMMON)
+test_fuzz_tx_in_SOURCES = $(FUZZ_SUITE) test/fuzz/tx_in.cpp
+test_fuzz_tx_in_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
+test_fuzz_tx_in_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
+test_fuzz_tx_in_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
+test_fuzz_tx_in_LDADD = $(FUZZ_SUITE_LD_COMMON)
+
endif # ENABLE_FUZZ
nodist_test_test_bitcoin_SOURCES = $(GENERATED_TEST_FILES)