@@ -21,6 +21,11 @@ RAW_TEST_FILES =
21
21
22
22
GENERATED_TEST_FILES = $(JSON_TEST_FILES:.json=.json.h) $(RAW_TEST_FILES:.raw=.raw.h)
23
23
24
+ BITCOIN_TEST_SUITE = \
25
+ test/test_bitcoin_main.cpp \
26
+ test/test_bitcoin.h \
27
+ test/test_bitcoin.cpp
28
+
24
29
# test_bitcoin binary #
25
30
BITCOIN_TESTS =\
26
31
test/arith_uint256_tests.cpp \
@@ -76,9 +81,6 @@ BITCOIN_TESTS =\
76
81
test/sigopcount_tests.cpp \
77
82
test/skiplist_tests.cpp \
78
83
test/streams_tests.cpp \
79
- test/test_bitcoin.cpp \
80
- test/test_bitcoin.h \
81
- test/test_bitcoin_main.cpp \
82
84
test/timedata_tests.cpp \
83
85
test/torcontrol_tests.cpp \
84
86
test/transaction_tests.cpp \
@@ -90,15 +92,17 @@ BITCOIN_TESTS =\
90
92
91
93
if ENABLE_WALLET
92
94
BITCOIN_TESTS += \
93
- wallet/test/wallet_test_fixture.cpp \
94
- wallet/test/wallet_test_fixture.h \
95
95
wallet/test/accounting_tests.cpp \
96
96
wallet/test/wallet_tests.cpp \
97
97
wallet/test/crypto_tests.cpp \
98
98
wallet/test/coinselector_tests.cpp
99
+
100
+ BITCOIN_TEST_SUITE += \
101
+ wallet/test/wallet_test_fixture.cpp \
102
+ wallet/test/wallet_test_fixture.h
99
103
endif
100
104
101
- test_test_bitcoin_SOURCES = $(BITCOIN_TESTS) $(JSON_TEST_FILES) $(RAW_TEST_FILES)
105
+ test_test_bitcoin_SOURCES = $(BITCOIN_TEST_SUITE) $( BITCOIN_TESTS) $(JSON_TEST_FILES) $(RAW_TEST_FILES)
102
106
test_test_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(TESTDEFS) $(EVENT_CFLAGS)
103
107
test_test_bitcoin_LDADD =
104
108
if ENABLE_WALLET
0 commit comments