-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.qttest.include
77 lines (62 loc) · 2.51 KB
/
Makefile.qttest.include
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# Copyright (c) 2018 The SalemCash 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_salemcash-qt
TESTS += qt/test/test_salemcash-qt
TEST_QT_MOC_CPP = \
qt/test/moc_compattests.cpp \
qt/test/moc_rpcnestedtests.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/wallettests.h
TEST_SALEMCASH_CPP = \
test/test_salemcash.cpp
TEST_SALEMCASH_H = \
test/test_salemcash.h
qt_test_test_salemcash_qt_CPPFLAGS = $(AM_CPPFLAGS) $(SALEMCASH_INCLUDES) $(SALEMCASH_QT_INCLUDES) \
$(QT_INCLUDES) $(QT_TEST_INCLUDES) $(PROTOBUF_CFLAGS)
qt_test_test_salemcash_qt_SOURCES = \
qt/test/compattests.cpp \
qt/test/rpcnestedtests.cpp \
qt/test/test_main.cpp \
qt/test/uritests.cpp \
$(TEST_QT_H) \
$(TEST_SALEMCASH_CPP) \
$(TEST_SALEMCASH_H)
if ENABLE_WALLET
qt_test_test_salemcash_qt_SOURCES += \
qt/test/paymentservertests.cpp \
qt/test/wallettests.cpp \
wallet/test/wallet_test_fixture.cpp
endif
nodist_qt_test_test_salemcash_qt_SOURCES = $(TEST_QT_MOC_CPP)
qt_test_test_salemcash_qt_LDADD = $(LIBSALEMCASHQT) $(LIBSALEMCASH_SERVER)
if ENABLE_WALLET
qt_test_test_salemcash_qt_LDADD += $(LIBSALEMCASH_WALLET)
endif
if ENABLE_ZMQ
qt_test_test_salemcash_qt_LDADD += $(LIBSALEMCASH_ZMQ) $(ZMQ_LIBS)
endif
qt_test_test_salemcash_qt_LDADD += $(LIBSALEMCASH_CLI) $(LIBSALEMCASH_COMMON) $(LIBSALEMCASH_UTIL) $(LIBSALEMCASH_CONSENSUS) $(LIBSALEMCASH_CRYPTO) $(LIBUNIVALUE) $(LIBLEVELDB) \
$(LIBLEVELDB_SSE42) $(LIBMEMENV) $(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)
qt_test_test_salemcash_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
qt_test_test_salemcash_qt_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
CLEAN_SALEMCASH_QT_TEST = $(TEST_QT_MOC_CPP) qt/test/*.gcda qt/test/*.gcno
CLEANFILES += $(CLEAN_SALEMCASH_QT_TEST)
test_salemcash_qt : qt/test/test_salemcash-qt$(EXEEXT)
test_salemcash_qt_check : qt/test/test_salemcash-qt$(EXEEXT) FORCE
$(MAKE) check-TESTS TESTS=$^
test_salemcash_qt_clean: FORCE
rm -f $(CLEAN_SALEMCASH_QT_TEST) $(qt_test_test_salemcash_qt_OBJECTS)