mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
785fa07015
108f04f
Add missing LOCK2 in CWallet::GetAvailableBalance (Russell Yanofsky)429aa9e
[test] Move some tests from qt -> wallet (Russell Yanofsky)d944bd7
[qt] Move some WalletModel functions into CWallet (Russell Yanofsky)ef8ca17
[test] Add tests for some walletmodel functions (Russell Yanofsky) Tree-SHA512: f6384d9f2ff3f7fb173d414588c3e7dc8c311b8ed2ce2b0979fb824a0ed83a7302890ccd3d83197f07f6fdcb6b1ca151584d90ea1961d88dfe8956c87087cde8
84 lines
2.6 KiB
Makefile
84 lines
2.6 KiB
Makefile
# Copyright (c) 2013-2016 The Bitcoin Core developers
|
|
# Copyright (c) 2014-2018 The Dash Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
bin_PROGRAMS += qt/test/test_dash-qt
|
|
TESTS += qt/test/test_dash-qt
|
|
|
|
TEST_QT_MOC_CPP = \
|
|
qt/test/moc_compattests.cpp \
|
|
qt/test/moc_rpcnestedtests.cpp \
|
|
qt/test/moc_trafficgraphdatatests.cpp \
|
|
qt/test/moc_uritests.cpp
|
|
|
|
if ENABLE_WALLET
|
|
TEST_QT_MOC_CPP += \
|
|
qt/test/moc_paymentservertests.cpp \
|
|
qt/test/moc_wallettests.cpp
|
|
endif
|
|
|
|
TEST_QT_H = \
|
|
qt/test/compattests.h \
|
|
qt/test/rpcnestedtests.h \
|
|
qt/test/uritests.h \
|
|
qt/test/paymentrequestdata.h \
|
|
qt/test/paymentservertests.h \
|
|
qt/test/trafficgraphdatatests.h \
|
|
qt/test/wallettests.h
|
|
|
|
TEST_BITCOIN_CPP = \
|
|
test/test_dash.cpp \
|
|
test/testutil.cpp
|
|
|
|
TEST_BITCOIN_H = \
|
|
test/test_dash.h \
|
|
test/testutil.h
|
|
|
|
qt_test_test_dash_qt_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
|
|
$(QT_INCLUDES) $(QT_TEST_INCLUDES) $(PROTOBUF_CFLAGS)
|
|
|
|
qt_test_test_dash_qt_SOURCES = \
|
|
qt/test/compattests.cpp \
|
|
qt/test/rpcnestedtests.cpp \
|
|
qt/test/test_main.cpp \
|
|
qt/test/uritests.cpp \
|
|
qt/test/trafficgraphdatatests.cpp \
|
|
$(TEST_QT_H) \
|
|
$(TEST_BITCOIN_CPP) \
|
|
$(TEST_BITCOIN_H)
|
|
if ENABLE_WALLET
|
|
qt_test_test_dash_qt_SOURCES += \
|
|
qt/test/paymentservertests.cpp \
|
|
qt/test/wallettests.cpp \
|
|
wallet/test/wallet_test_fixture.cpp
|
|
endif
|
|
|
|
nodist_qt_test_test_dash_qt_SOURCES = $(TEST_QT_MOC_CPP)
|
|
|
|
qt_test_test_dash_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN_SERVER)
|
|
if ENABLE_WALLET
|
|
qt_test_test_dash_qt_LDADD += $(LIBBITCOIN_WALLET)
|
|
endif
|
|
if ENABLE_ZMQ
|
|
qt_test_test_dash_qt_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
|
|
endif
|
|
qt_test_test_dash_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CONSENSUS) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) $(LIBLEVELDB) \
|
|
$(LIBLEVELDB_SSE42) $(LIBMEMENV) $(BACKTRACE_LIB) $(BOOST_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) $(QT_LIBS) \
|
|
$(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
|
|
$(EVENT_PTHREADS_LIBS) $(EVENT_LIBS) $(BLS_LIBS)
|
|
qt_test_test_dash_qt_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
|
|
qt_test_test_dash_qt_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
|
|
|
|
CLEAN_BITCOIN_QT_TEST = $(TEST_QT_MOC_CPP) qt/test/*.gcda qt/test/*.gcno
|
|
|
|
CLEANFILES += $(CLEAN_BITCOIN_QT_TEST)
|
|
|
|
test_dash_qt : qt/test/test_dash-qt$(EXEEXT)
|
|
|
|
test_dash_qt_check : qt/test/test_dash-qt$(EXEEXT) FORCE
|
|
$(MAKE) check-TESTS TESTS=$^
|
|
|
|
test_dash_qt_clean: FORCE
|
|
rm -f $(CLEAN_BITCOIN_QT_TEST) $(qt_test_test_dash_qt_OBJECTS)
|