HomePhabricator

Rename test_bitcoin to test/setup_common

Description

Rename test_bitcoin to test/setup_common

Summary:
Original replacement script:

-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/test_bitcoin\.(h|cpp)/setup_common.\1/g'
$(git grep -l test_bitcoin)
git mv ./src/test/test_bitcoin.h   ./src/test/setup_common.h
git mv ./src/test/test_bitcoin.cpp ./src/test/setup_common.cpp
sed -i -e 's/BITCOIN_TEST_TEST_BITCOIN_H/BITCOIN_TEST_SETUP_COMMON_H/g'
./src/test/setup_common.h
-END VERIFY SCRIPT-

Partial backport of core PR15788:
https://github.com/bitcoin/bitcoin/pull/15788/commits/fa821904bf8870d8957a82ea65c0c7a8e84272a6#diff-cbf056cfc6c760726f2dff1391fd37d8

Depends on D5493.

This touches a lot of files, but is renaming only and unfortunately
cannot be split without breaking the build.

Test Plan:

make
make check
./src/bench/bench_bitcoin

ninja
ninja check
ninja bench-bitcoin

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5494

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Apr 11 2019, 13:44
FabienCommitted on Mar 19 2020, 15:59
FabienPushed on Mar 19 2020, 15:59
Reviewer
Restricted Project
Differential Revision
D5494: Rename test_bitcoin to test/setup_common
Parents
rABCb6a8418acfa6: test: Use test_bitcoin setup in bench
Branches
Unknown
Tags
Unknown