1 bin_PROGRAMS += qt/test/test_bitcoin-qt
2 TESTS += qt/test/test_bitcoin-qt
4 TEST_QT_MOC_CPP = qt/test/moc_uritests.cpp
7 TEST_QT_MOC_CPP += qt/test/moc_paymentservertests.cpp
12 qt/test/paymentrequestdata.h \
13 qt/test/paymentservertests.h
15 qt_test_test_bitcoin_qt_CPPFLAGS = $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
16 $(QT_INCLUDES) $(QT_TEST_INCLUDES) $(PROTOBUF_CFLAGS)
18 qt_test_test_bitcoin_qt_SOURCES = \
19 qt/test/test_main.cpp \
20 qt/test/uritests.cpp \
23 qt_test_test_bitcoin_qt_SOURCES += \
24 qt/test/paymentservertests.cpp
27 nodist_qt_test_test_bitcoin_qt_SOURCES = $(TEST_QT_MOC_CPP)
29 qt_test_test_bitcoin_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN_SERVER)
31 qt_test_test_bitcoin_qt_LDADD += $(LIBBITCOIN_WALLET)
33 qt_test_test_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) \
34 $(LIBMEMENV) $(BOOST_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) $(QT_LIBS) \
35 $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
36 $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
37 qt_test_test_bitcoin_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
39 CLEAN_BITCOIN_QT_TEST = $(TEST_QT_MOC_CPP) qt/test/*.gcda qt/test/*.gcno
41 CLEANFILES += $(CLEAN_BITCOIN_QT_TEST)
43 test_bitcoin_qt : qt/test/test_bitcoin-qt$(EXEEXT)
45 test_bitcoin_qt_check : qt/test/test_bitcoin-qt$(EXEEXT) FORCE
46 $(MAKE) check-TESTS TESTS=$^
48 test_bitcoin_qt_clean: FORCE
49 rm -f $(CLEAN_BITCOIN_QT_TEST) $(qt_test_test_bitcoin_qt_OBJECTS)