Initially proposed by @jonasschnelli here: https://botbot.me/freenode/bitcoin-core-dev/2017-02-16/?msg=81095853&page=5
This re-organises the qa test directory to meet the following requirements:
- qa directory should be renamed to come after /src alpabetically, so that git diffs and github PRs show changes to qa tests beneath changes to product code.
- rpc-tests should be renamed to something, since they test more than the RPC interface
- pull-tester should be renamed to something, since it's run locally as well as on PRs
- bitcoin-util-test should be moved to the qa test directory, since it's a functional test rather than a unit test.
This PR has the following commits:
- commit 1 renames qa to test
- commit 2 renames the rpc-tests directory to qa
- commit 3 renames test/pull-tester/rpc-tests.py to test/runner/runner.py
- commit 4 renames the --enable-extended-rpc-tests configure option to --enable-extended-qa-tests
- commit 5 moves the bitcoin-util-test.py test into test/util
The new directory structure is [EDITED]:
|--src
| |--<source files etc>
| |--test
| |---<unit tests>
|
|--test
|---functional
| |---<tests (were previously in /qa/rpc-tests)>
| |---test_runner.py (was previously qa/pull-tester/rpc-tests.py)
| |---test_config.ini
|
|---README.md
|
|---util
| |---bctest.py (was previously in src/test)
| |---bitcoin-util-test.py (was previously in src/test)
| |---buildenv.py.in (was previously in src/test)
| |---data (was previously in src/test)
| | |---<data files>
The actual structure within the new directories is unchanged to minimize changes.
I've tested this at each commit by rebuilding and running the test cases. Reviewers note that you'll need to ./autogen.sh and ./configure to test this.
Any feedback on names or structure welcomed.