Skip to content

Commit 85ccffa

Browse files
SjorsMarcoFalke
authored andcommitted
test: move releases download incantation to README
1 parent 29d6b1d commit 85ccffa

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

test/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ Run all possible tests with
8484
test/functional/test_runner.py --extended
8585
```
8686

87+
In order to run backwards compatibility tests, download the previous node binaries:
88+
89+
```
90+
test/get_previous_releases.py -b v0.20.1 v0.19.1 v0.18.1 v0.17.2 v0.16.3 v0.15.2
91+
```
92+
8793
By default, up to 4 tests will be run in parallel by test_runner. To specify
8894
how many jobs to run, append `--jobs=n`
8995

test/functional/feature_backwards_compatibility.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
55
"""Backwards compatibility functional test
66
7-
Test various backwards compatibility scenarios. Download the previous node binaries:
8-
9-
test/get_previous_releases.py -b v0.20.1 v0.19.1 v0.18.1 v0.17.2 v0.16.3 v0.15.2
7+
Test various backwards compatibility scenarios. Requires previous releases binaries,
8+
see test/README.md.
109
1110
v0.15.2 is not required by this test, but it is used in wallet_upgradewallet.py.
1211
Due to a hardfork in regtest, it can't be used to sync nodes.

test/functional/mempool_compatibility.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
NOTE: The test is designed to prevent cases when compatibility is broken accidentally.
88
In case we need to break mempool compatibility we can continue to use the test by just bumping the version number.
99
10-
Download node binaries:
11-
test/get_previous_releases.py -b v0.20.1 v0.19.1 v0.18.1 v0.17.2 v0.16.3 v0.15.2
12-
13-
Only v0.15.2 is required by this test. The rest is used in other backwards compatibility tests.
10+
The previous release v0.15.2 is required by this test, see test/README.md.
1411
"""
1512

1613
import os

test/functional/wallet_upgradewallet.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
77
Test upgradewallet RPC. Download node binaries:
88
9-
test/get_previous_releases.py -b v0.20.1 v0.19.1 v0.18.1 v0.17.2 v0.16.3 v0.15.2
10-
11-
Only v0.15.2 and v0.16.3 are required by this test. The others are used in feature_backwards_compatibility.py
9+
Requires previous releases binaries, see test/README.md.
10+
Only v0.15.2 and v0.16.3 are required by this test.
1211
"""
1312

1413
import os

0 commit comments

Comments
 (0)