@@ -61,7 +61,7 @@ OSX_PACKAGING = $(OSX_DEPLOY_SCRIPT) $(OSX_FANCY_PLIST) $(OSX_INSTALLER_ICONS) \
6161
6262COVERAGE_INFO = baseline_filtered_combined.info baseline.info \
6363 leveldb_baseline.info test_dash_filtered.info total_coverage.info \
64- baseline_filtered.info rpc_test .info rpc_test_filtered .info \
64+ baseline_filtered.info functional_test .info functional_test_filtered .info \
6565 leveldb_baseline_filtered.info test_dash_coverage.info test_dash.info
6666
6767dist-hook :
@@ -191,20 +191,20 @@ test_dash.info: baseline_filtered_combined.info
191191test_dash_filtered.info : test_dash.info
192192 $(LCOV ) -r $< " /usr/include/*" -o $@
193193
194- rpc_test .info : test_dash_filtered.info
195- -@TIMEOUT=15 python qa/pull-tester/rpc-tests .py $(EXTENDED_RPC_TESTS )
196- $(LCOV ) -c -d $(abs_builddir ) /src --t rpc -tests -o $@
194+ functional_test .info : test_dash_filtered.info
195+ -@TIMEOUT=15 python test/functional/test_runner .py $(EXTENDED_FUNCTIONAL_TESTS )
196+ $(LCOV ) -c -d $(abs_builddir ) /src --t functional -tests -o $@
197197 $(LCOV ) -z -d $(abs_builddir ) /src
198198 $(LCOV ) -z -d $(abs_builddir ) /src/leveldb
199199
200- rpc_test_filtered .info : rpc_test .info
200+ functional_test_filtered .info : functional_test .info
201201 $(LCOV ) -r $< " /usr/include/*" -o $@
202202
203203test_dash_coverage.info : baseline_filtered_combined.info test_dash_filtered.info
204204 $(LCOV ) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_dash_filtered.info -o $@
205205
206- total_coverage.info : baseline_filtered_combined.info test_dash_filtered.info rpc_test_filtered .info
207- $(LCOV ) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_dash_filtered.info -a rpc_test_filtered .info -o $@ | $(GREP ) " \%" | $(AWK ) ' { print substr($$3,2,50) "/" $$5 }' > coverage_percent.txt
206+ total_coverage.info : baseline_filtered_combined.info test_dash_filtered.info functional_test_filtered .info
207+ $(LCOV ) -a baseline_filtered.info -a leveldb_baseline_filtered.info -a test_dash_filtered.info -a functional_test_filtered .info -o $@ | $(GREP ) " \%" | $(AWK ) ' { print substr($$3,2,50) "/" $$5 }' > coverage_percent.txt
208208
209209test_dash.coverage/.dirstamp : test_dash_coverage.info
210210 $(GENHTML ) -s $< -o $(@D )
@@ -220,14 +220,58 @@ endif
220220
221221dist_noinst_SCRIPTS = autogen.sh
222222
223- EXTRA_DIST = $(top_srcdir ) /share/genbuild.sh qa/pull-tester/rpc-tests.py qa/rpc-tests $(DIST_CONTRIB ) $(DIST_DOCS ) $(WINDOWS_PACKAGING ) $(OSX_PACKAGING ) $(BIN_CHECKS )
223+ EXTRA_DIST = $(top_srcdir ) /share/genbuild.sh test/functional/test_runner.py test/functional $(DIST_CONTRIB ) $(DIST_DOCS ) $(WINDOWS_PACKAGING ) $(OSX_PACKAGING ) $(BIN_CHECKS )
224+
225+ EXTRA_DIST += \
226+ test/util/bctest.py \
227+ test/util/bitcoin-util-test.py \
228+ test/util/data/bitcoin-util-test.json \
229+ test/util/data/blanktxv1.hex \
230+ test/util/data/blanktxv1.json \
231+ test/util/data/blanktxv2.hex \
232+ test/util/data/blanktxv2.json \
233+ test/util/data/tt-delin1-out.hex \
234+ test/util/data/tt-delin1-out.json \
235+ test/util/data/tt-delout1-out.hex \
236+ test/util/data/tt-delout1-out.json \
237+ test/util/data/tt-locktime317000-out.hex \
238+ test/util/data/tt-locktime317000-out.json \
239+ test/util/data/tx394b54bb.hex \
240+ test/util/data/txcreate1.hex \
241+ test/util/data/txcreate1.json \
242+ test/util/data/txcreate2.hex \
243+ test/util/data/txcreate2.json \
244+ test/util/data/txcreatedata1.hex \
245+ test/util/data/txcreatedata1.json \
246+ test/util/data/txcreatedata2.hex \
247+ test/util/data/txcreatedata2.json \
248+ test/util/data/txcreatedata_seq0.hex \
249+ test/util/data/txcreatedata_seq0.json \
250+ test/util/data/txcreatedata_seq1.hex \
251+ test/util/data/txcreatedata_seq1.json \
252+ test/util/data/txcreatemultisig1.hex \
253+ test/util/data/txcreatemultisig1.json \
254+ test/util/data/txcreatemultisig2.hex \
255+ test/util/data/txcreatemultisig2.json \
256+ test/util/data/txcreateoutpubkey1.hex \
257+ test/util/data/txcreateoutpubkey1.json \
258+ test/util/data/txcreatescript1.hex \
259+ test/util/data/txcreatescript1.json \
260+ test/util/data/txcreatescript2.hex \
261+ test/util/data/txcreatescript2.json \
262+ test/util/data/txcreatesignv1.hex \
263+ test/util/data/txcreatesignv1.json \
264+ test/util/data/txcreatesignv2.hex
224265
225266CLEANFILES = $(OSX_DMG ) $(BITCOIN_WIN_INSTALLER )
226267
268+ # This file is problematic for out-of-tree builds if it exists.
269+ DISTCLEANFILES = test/util/buildenv.pyc
270+
227271.INTERMEDIATE : $(COVERAGE_INFO )
228272
229273DISTCHECK_CONFIGURE_FLAGS = --enable-man
230274
231275clean-local :
232- rm -rf coverage_percent.txt test_dash.coverage/ total.coverage/ qa /tmp/ cache/ $(OSX_APP )
233- rm -rf qa/pull-tester /__pycache__
276+ rm -rf coverage_percent.txt test_dash.coverage/ total.coverage/ test /tmp/ cache/ $(OSX_APP )
277+ rm -rf test/functional /__pycache__
0 commit comments