aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Towns <[email protected]>2018-01-25 09:44:29 +1000
committerAnthony Towns <[email protected]>2018-01-25 09:44:29 +1000
commitca6523d0c8a44e0b9193367d1250a7d428d61be3 (patch)
treee31acbe57137e92e52168a01d9fd4a3060f218cb
parentMerge #12261: qt: Bump BLOCK_CHAIN_SIZE to 200GB (diff)
downloaddiscoin-ca6523d0c8a44e0b9193367d1250a7d428d61be3.tar.xz
discoin-ca6523d0c8a44e0b9193367d1250a7d428d61be3.zip
[tests] Rename feature_* functional tests.
-rw-r--r--test/functional/README.md2
-rwxr-xr-xtest/functional/feature_assumevalid.py (renamed from test/functional/assumevalid.py)0
-rwxr-xr-xtest/functional/feature_bip68_sequence.py (renamed from test/functional/bip68-sequence.py)0
-rwxr-xr-xtest/functional/feature_bip9_softforks.py (renamed from test/functional/bip9-softforks.py)0
-rwxr-xr-xtest/functional/feature_block.py (renamed from test/functional/p2p-fullblocktest.py)0
-rwxr-xr-xtest/functional/feature_cltv.py (renamed from test/functional/bip65-cltv-p2p.py)0
-rwxr-xr-xtest/functional/feature_config_args.py (renamed from test/functional/conf_args.py)0
-rwxr-xr-xtest/functional/feature_csv_activation.py (renamed from test/functional/bip68-112-113-p2p.py)0
-rwxr-xr-xtest/functional/feature_dbcrash.py (renamed from test/functional/dbcrash.py)0
-rwxr-xr-xtest/functional/feature_dersig.py (renamed from test/functional/bipdersig-p2p.py)0
-rwxr-xr-xtest/functional/feature_fee_estimation.py (renamed from test/functional/smartfees.py)0
-rwxr-xr-xtest/functional/feature_maxuploadtarget.py (renamed from test/functional/maxuploadtarget.py)0
-rwxr-xr-xtest/functional/feature_minchainwork.py (renamed from test/functional/minchainwork.py)0
-rwxr-xr-xtest/functional/feature_notifications.py (renamed from test/functional/notifications.py)0
-rwxr-xr-xtest/functional/feature_nulldummy.py (renamed from test/functional/nulldummy.py)0
-rwxr-xr-xtest/functional/feature_proxy.py (renamed from test/functional/proxy_test.py)0
-rwxr-xr-xtest/functional/feature_pruning.py (renamed from test/functional/pruning.py)0
-rwxr-xr-xtest/functional/feature_rbf.py (renamed from test/functional/replace-by-fee.py)0
-rwxr-xr-xtest/functional/feature_reindex.py (renamed from test/functional/reindex.py)0
-rwxr-xr-xtest/functional/feature_segwit.py (renamed from test/functional/segwit.py)0
-rwxr-xr-xtest/functional/feature_uacomment.py (renamed from test/functional/uacomment.py)0
-rwxr-xr-xtest/functional/feature_versionbits_warning.py (renamed from test/functional/p2p-versionbits-warning.py)0
-rwxr-xr-xtest/functional/test_runner.py44
23 files changed, 23 insertions, 23 deletions
diff --git a/test/functional/README.md b/test/functional/README.md
index d6ce490ab..b3d34c72f 100644
--- a/test/functional/README.md
+++ b/test/functional/README.md
@@ -133,7 +133,7 @@ Each `TestInstance` consists of:
acceptance is tested against the given outcome.
- For examples of tests written in this framework, see
- `invalidblockrequest.py` and `p2p-fullblocktest.py`.
+ `invalidblockrequest.py` and `feature_block.py`.
### test-framework modules
diff --git a/test/functional/assumevalid.py b/test/functional/feature_assumevalid.py
index 5a0914241..5a0914241 100755
--- a/test/functional/assumevalid.py
+++ b/test/functional/feature_assumevalid.py
diff --git a/test/functional/bip68-sequence.py b/test/functional/feature_bip68_sequence.py
index 94b13653b..94b13653b 100755
--- a/test/functional/bip68-sequence.py
+++ b/test/functional/feature_bip68_sequence.py
diff --git a/test/functional/bip9-softforks.py b/test/functional/feature_bip9_softforks.py
index ae92e9f07..ae92e9f07 100755
--- a/test/functional/bip9-softforks.py
+++ b/test/functional/feature_bip9_softforks.py
diff --git a/test/functional/p2p-fullblocktest.py b/test/functional/feature_block.py
index fe9bbda14..fe9bbda14 100755
--- a/test/functional/p2p-fullblocktest.py
+++ b/test/functional/feature_block.py
diff --git a/test/functional/bip65-cltv-p2p.py b/test/functional/feature_cltv.py
index f62ae3165..f62ae3165 100755
--- a/test/functional/bip65-cltv-p2p.py
+++ b/test/functional/feature_cltv.py
diff --git a/test/functional/conf_args.py b/test/functional/feature_config_args.py
index 61abba808..61abba808 100755
--- a/test/functional/conf_args.py
+++ b/test/functional/feature_config_args.py
diff --git a/test/functional/bip68-112-113-p2p.py b/test/functional/feature_csv_activation.py
index 82aa0ff89..82aa0ff89 100755
--- a/test/functional/bip68-112-113-p2p.py
+++ b/test/functional/feature_csv_activation.py
diff --git a/test/functional/dbcrash.py b/test/functional/feature_dbcrash.py
index 24b9765b4..24b9765b4 100755
--- a/test/functional/dbcrash.py
+++ b/test/functional/feature_dbcrash.py
diff --git a/test/functional/bipdersig-p2p.py b/test/functional/feature_dersig.py
index 341457167..341457167 100755
--- a/test/functional/bipdersig-p2p.py
+++ b/test/functional/feature_dersig.py
diff --git a/test/functional/smartfees.py b/test/functional/feature_fee_estimation.py
index 68453e50f..68453e50f 100755
--- a/test/functional/smartfees.py
+++ b/test/functional/feature_fee_estimation.py
diff --git a/test/functional/maxuploadtarget.py b/test/functional/feature_maxuploadtarget.py
index 45336ee80..45336ee80 100755
--- a/test/functional/maxuploadtarget.py
+++ b/test/functional/feature_maxuploadtarget.py
diff --git a/test/functional/minchainwork.py b/test/functional/feature_minchainwork.py
index 90a3de0e0..90a3de0e0 100755
--- a/test/functional/minchainwork.py
+++ b/test/functional/feature_minchainwork.py
diff --git a/test/functional/notifications.py b/test/functional/feature_notifications.py
index 980bef5fc..980bef5fc 100755
--- a/test/functional/notifications.py
+++ b/test/functional/feature_notifications.py
diff --git a/test/functional/nulldummy.py b/test/functional/feature_nulldummy.py
index e4f413cc2..e4f413cc2 100755
--- a/test/functional/nulldummy.py
+++ b/test/functional/feature_nulldummy.py
diff --git a/test/functional/proxy_test.py b/test/functional/feature_proxy.py
index 2eb1be47a..2eb1be47a 100755
--- a/test/functional/proxy_test.py
+++ b/test/functional/feature_proxy.py
diff --git a/test/functional/pruning.py b/test/functional/feature_pruning.py
index 49ad7f838..49ad7f838 100755
--- a/test/functional/pruning.py
+++ b/test/functional/feature_pruning.py
diff --git a/test/functional/replace-by-fee.py b/test/functional/feature_rbf.py
index 6b7ab0f43..6b7ab0f43 100755
--- a/test/functional/replace-by-fee.py
+++ b/test/functional/feature_rbf.py
diff --git a/test/functional/reindex.py b/test/functional/feature_reindex.py
index ac67e6e9b..ac67e6e9b 100755
--- a/test/functional/reindex.py
+++ b/test/functional/feature_reindex.py
diff --git a/test/functional/segwit.py b/test/functional/feature_segwit.py
index ba6373fa3..ba6373fa3 100755
--- a/test/functional/segwit.py
+++ b/test/functional/feature_segwit.py
diff --git a/test/functional/uacomment.py b/test/functional/feature_uacomment.py
index 0b2c64ab6..0b2c64ab6 100755
--- a/test/functional/uacomment.py
+++ b/test/functional/feature_uacomment.py
diff --git a/test/functional/p2p-versionbits-warning.py b/test/functional/feature_versionbits_warning.py
index 0bfe94622..0bfe94622 100755
--- a/test/functional/p2p-versionbits-warning.py
+++ b/test/functional/feature_versionbits_warning.py
diff --git a/test/functional/test_runner.py b/test/functional/test_runner.py
index b8b6ee98b..6aad0f9b9 100755
--- a/test/functional/test_runner.py
+++ b/test/functional/test_runner.py
@@ -58,10 +58,10 @@ BASE_SCRIPTS= [
'wallet-hd.py',
'walletbackup.py',
# vv Tests less than 5m vv
- 'p2p-fullblocktest.py',
+ 'feature_block.py',
'fundrawtransaction.py',
'p2p-compactblocks.py',
- 'segwit.py',
+ 'feature_segwit.py',
# vv Tests less than 2m vv
'wallet.py',
'wallet-accounts.py',
@@ -76,10 +76,10 @@ BASE_SCRIPTS= [
'merkle_blocks.py',
'receivedby.py',
'abandonconflict.py',
- 'bip68-112-113-p2p.py',
+ 'feature_csv_activation.py',
'rawtransactions.py',
'address_types.py',
- 'reindex.py',
+ 'feature_reindex.py',
# vv Tests less than 30s vv
'keypool-topup.py',
'zmq_test.py',
@@ -97,7 +97,7 @@ BASE_SCRIPTS= [
'multiwallet.py --usecli',
'httpbasics.py',
'multi_rpc.py',
- 'proxy_test.py',
+ 'feature_proxy.py',
'signrawtransactions.py',
'disconnect_ban.py',
'decodescript.py',
@@ -110,11 +110,11 @@ BASE_SCRIPTS= [
'prioritise_transaction.py',
'invalidblockrequest.py',
'invalidtxrequest.py',
- 'p2p-versionbits-warning.py',
+ 'feature_versionbits_warning.py',
'preciousblock.py',
'importprunedfunds.py',
'signmessages.py',
- 'nulldummy.py',
+ 'feature_nulldummy.py',
'import-rescan.py',
'mining.py',
'bumpfee.py',
@@ -122,17 +122,17 @@ BASE_SCRIPTS= [
'listsinceblock.py',
'p2p-leaktests.py',
'wallet-encryption.py',
- 'bipdersig-p2p.py',
- 'bip65-cltv-p2p.py',
+ 'feature_dersig.py',
+ 'feature_cltv.py',
'uptime.py',
'resendwallettransactions.py',
- 'minchainwork.py',
+ 'feature_minchainwork.py',
'p2p-fingerprint.py',
- 'uacomment.py',
+ 'feature_uacomment.py',
'p2p-acceptblock.py',
'feature_logging.py',
'node_network_limited.py',
- 'conf_args.py',
+ 'feature_config_args.py',
# Don't append tests at the end to avoid merge conflicts
# Put them in a random line within the section that fits their approximate run-time
]
@@ -140,29 +140,29 @@ BASE_SCRIPTS= [
EXTENDED_SCRIPTS = [
# These tests are not run by the travis build process.
# Longest test should go first, to favor running tests in parallel
- 'pruning.py',
+ 'feature_pruning.py',
# vv Tests less than 20m vv
- 'smartfees.py',
+ 'feature_fee_estimation.py',
# vv Tests less than 5m vv
- 'maxuploadtarget.py',
+ 'feature_maxuploadtarget.py',
'mempool_packages.py',
- 'dbcrash.py',
+ 'feature_dbcrash.py',
# vv Tests less than 2m vv
- 'bip68-sequence.py',
+ 'feature_bip68_sequence.py',
'getblocktemplate_longpoll.py',
'p2p-timeouts.py',
# vv Tests less than 60s vv
- 'bip9-softforks.py',
+ 'feature_bip9_softforks.py',
'p2p-feefilter.py',
'rpcbind_test.py',
# vv Tests less than 30s vv
- 'assumevalid.py',
+ 'feature_assumevalid.py',
'example_test.py',
'txn_doublespend.py',
'txn_clone.py --mineblock',
- 'notifications.py',
+ 'feature_notifications.py',
'invalidateblock.py',
- 'replace-by-fee.py',
+ 'feature_rbf.py',
]
# Place EXTENDED_SCRIPTS first since it has the 3 longest running tests
@@ -474,7 +474,7 @@ class TestResult():
def check_script_prefixes():
"""Check that no more than `EXPECTED_VIOLATION_COUNT` of the
test scripts don't start with one of the allowed name prefixes."""
- EXPECTED_VIOLATION_COUNT = 77
+ EXPECTED_VIOLATION_COUNT = 60
# LEEWAY is provided as a transition measure, so that pull-requests
# that introduce new tests that don't conform with the naming