mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
65b80e76b7
9ac86bcc0d72cdcecdbf8884a557095bbc3cdc11 test: remove qt byteswap compattests (fanquake) Pull request description: These were added as part of #9366 when with fixing issues with Protobuf. Now that we no-longer use Protobuf, there's no reason to maintain a duplicate set of byteswap tests in the qt tests. Our other set of byteswap tests are here: https://github.com/bitcoin/bitcoin/blob/master/src/test/bswap_tests.cpp. ACKs for top commit: laanwj: Code review ACK 9ac86bcc0d72cdcecdbf8884a557095bbc3cdc11 Tree-SHA512: 72ba131a5f8fbd9fdbbc4e1f95baa794496c960b12e0271700c632c6511b7e1b331e8db07a201838b4d56b2aeeb43d4de4e10265ea07ab14241307fa14d3342e
75 lines
2.5 KiB
Makefile
75 lines
2.5 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_apptests.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_addressbooktests.cpp \
|
|
qt/test/moc_wallettests.cpp
|
|
endif # ENABLE_WALLET
|
|
|
|
TEST_QT_H = \
|
|
qt/test/addressbooktests.h \
|
|
qt/test/apptests.h \
|
|
qt/test/rpcnestedtests.h \
|
|
qt/test/uritests.h \
|
|
qt/test/util.h \
|
|
qt/test/trafficgraphdatatests.h \
|
|
qt/test/wallettests.h
|
|
|
|
qt_test_test_dash_qt_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
|
|
$(QT_INCLUDES) $(QT_TEST_INCLUDES)
|
|
|
|
qt_test_test_dash_qt_SOURCES = \
|
|
qt/test/apptests.cpp \
|
|
qt/test/rpcnestedtests.cpp \
|
|
qt/test/test_main.cpp \
|
|
qt/test/trafficgraphdatatests.cpp \
|
|
qt/test/uritests.cpp \
|
|
qt/test/util.cpp \
|
|
$(TEST_QT_H)
|
|
if ENABLE_WALLET
|
|
qt_test_test_dash_qt_SOURCES += \
|
|
qt/test/addressbooktests.cpp \
|
|
qt/test/wallettests.cpp \
|
|
wallet/test/wallet_test_fixture.cpp
|
|
endif # ENABLE_WALLET
|
|
|
|
nodist_qt_test_test_dash_qt_SOURCES = $(TEST_QT_MOC_CPP)
|
|
|
|
qt_test_test_dash_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN_SERVER) $(LIBTEST_UTIL)
|
|
if ENABLE_WALLET
|
|
qt_test_test_dash_qt_LDADD += $(LIBBITCOIN_UTIL) $(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) $(LIBDASHBLS) $(LIBUNIVALUE) $(LIBLEVELDB) \
|
|
$(LIBLEVELDB_SSE42) $(LIBMEMENV) $(BACKTRACE_LIB) $(BOOST_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) $(QT_LIBS) \
|
|
$(QR_LIBS) $(BDB_LIBS) $(MINIUPNPC_LIBS) $(NATPMP_LIBS) $(SQLITE_LIBS) $(LIBSECP256K1) \
|
|
$(EVENT_PTHREADS_LIBS) $(EVENT_LIBS) $(GMP_LIBS)
|
|
qt_test_test_dash_qt_LDFLAGS = $(LDFLAGS_WRAP_EXCEPTIONS) $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS)
|
|
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)
|