mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 11:13:23 -03:00
24d5cf9314
1cd45d4e08
test: move random.h include header from setup_common.h to cpp (Jon Atack)1b246fdd14
test: move remaining random test util code from setup_common to random (jonatack) Pull request description: and drop the `util/random` dependency on `util/setup_common`. This improves code separation and allows `util/setup_common` to call `util/random` functions without creating a circular dependency, thereby addressing https://github.com/bitcoin/bitcoin/pull/26940#issuecomment-1497266140 by glozow (thanks!) ACKs for top commit: MarcoFalke: lgtm ACK1cd45d4e08
🌂 Tree-SHA512: 6ce63d9103ba9b04eebbd8ad02fe9aa79e356296533404034a1ae88e9b7ca0bc9a5c51fd754b71cf4e7b55b18bcd4d5474b2d588edee3851e3b3ce0e4d309a93
55 lines
1.4 KiB
Text
55 lines
1.4 KiB
Text
# 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/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 \
|
|
test/util/xoroshiro128plusplus.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)
|