mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
This introduces a bespoke fuzzing-focused serialization format for DepGraphs, and then tests that this format can represent any graph, roundtrips, and then uses that to test the correctness of DepGraph itself. This forms the basis for future fuzz tests that need to work with interesting graphs.
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# Copyright (c) 2013-2019 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
LIBTEST_UTIL=libtest_util.a
|
|
|
|
EXTRA_LIBRARIES += \
|
|
$(LIBTEST_UTIL)
|
|
|
|
TEST_UTIL_H = \
|
|
test/util/blockfilter.h \
|
|
test/util/chainstate.h \
|
|
test/util/cluster_linearize.h \
|
|
test/util/coins.h \
|
|
test/util/index.h \
|
|
test/util/json.h \
|
|
test/util/logging.h \
|
|
test/util/mining.h \
|
|
test/util/net.h \
|
|
test/util/poolresourcetester.h \
|
|
test/util/random.h \
|
|
test/util/script.h \
|
|
test/util/setup_common.h \
|
|
test/util/str.h \
|
|
test/util/transaction_utils.h \
|
|
test/util/txmempool.h \
|
|
test/util/validation.h
|
|
|
|
if ENABLE_WALLET
|
|
TEST_UTIL_H += wallet/test/util.h
|
|
endif # ENABLE_WALLET
|
|
|
|
libtest_util_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BOOST_CPPFLAGS)
|
|
libtest_util_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
|
|
libtest_util_a_SOURCES = \
|
|
test/util/blockfilter.cpp \
|
|
test/util/coins.cpp \
|
|
test/util/index.cpp \
|
|
test/util/json.cpp \
|
|
test/util/logging.cpp \
|
|
test/util/mining.cpp \
|
|
test/util/net.cpp \
|
|
test/util/random.cpp \
|
|
test/util/script.cpp \
|
|
test/util/setup_common.cpp \
|
|
test/util/str.cpp \
|
|
test/util/transaction_utils.cpp \
|
|
test/util/txmempool.cpp \
|
|
test/util/validation.cpp
|
|
|
|
if ENABLE_WALLET
|
|
libtest_util_a_SOURCES += wallet/test/util.cpp
|
|
endif # ENABLE_WALLET
|
|
|
|
libtest_util_a_SOURCES += $(TEST_UTIL_H)
|