diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-04-11 09:44:10 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-04-11 10:12:36 -0400 |
commit | fa821904bf8870d8957a82ea65c0c7a8e84272a6 (patch) | |
tree | 80eb6dd8316c9ecd9540d96abc6cc388ea9a3b38 /src/test/README.md | |
parent | fa8685d49ed8e52b1220a89f669dac63bef172bc (diff) |
scripted-diff: Rename test_bitcoin to test/setup_common
-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-
Diffstat (limited to 'src/test/README.md')
-rw-r--r-- | src/test/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/README.md b/src/test/README.md index f2a4cb1818..0017e3de26 100644 --- a/src/test/README.md +++ b/src/test/README.md @@ -42,7 +42,7 @@ unit tests as possible). The build system is setup to compile an executable called `test_bitcoin` that runs all of the unit tests. The main source file is called -test_bitcoin.cpp. To add a new unit test file to our test suite you need +setup_common.cpp. To add a new unit test file to our test suite you need to add the file to `src/Makefile.test.include`. The pattern is to create one test file for each class or source file for which you want to create unit tests. The file naming convention is `<source_filename>_tests.cpp` |