Browse Source

[tests] Rename feature_* functional tests.

0.16
Anthony Towns 7 years ago
parent
commit
ca6523d0c8
  1. 2
      test/functional/README.md
  2. 0
      test/functional/feature_assumevalid.py
  3. 0
      test/functional/feature_bip68_sequence.py
  4. 0
      test/functional/feature_bip9_softforks.py
  5. 0
      test/functional/feature_block.py
  6. 0
      test/functional/feature_cltv.py
  7. 0
      test/functional/feature_config_args.py
  8. 0
      test/functional/feature_csv_activation.py
  9. 0
      test/functional/feature_dbcrash.py
  10. 0
      test/functional/feature_dersig.py
  11. 0
      test/functional/feature_fee_estimation.py
  12. 0
      test/functional/feature_maxuploadtarget.py
  13. 0
      test/functional/feature_minchainwork.py
  14. 0
      test/functional/feature_notifications.py
  15. 0
      test/functional/feature_nulldummy.py
  16. 0
      test/functional/feature_proxy.py
  17. 0
      test/functional/feature_pruning.py
  18. 0
      test/functional/feature_rbf.py
  19. 0
      test/functional/feature_reindex.py
  20. 0
      test/functional/feature_segwit.py
  21. 0
      test/functional/feature_uacomment.py
  22. 0
      test/functional/feature_versionbits_warning.py
  23. 44
      test/functional/test_runner.py

2
test/functional/README.md

@ -133,7 +133,7 @@ Each `TestInstance` consists of:
acceptance is tested against the given outcome. acceptance is tested against the given outcome.
- For examples of tests written in this framework, see - For examples of tests written in this framework, see
`invalidblockrequest.py` and `p2p-fullblocktest.py`. `invalidblockrequest.py` and `feature_block.py`.
### test-framework modules ### test-framework modules

0
test/functional/assumevalid.py → test/functional/feature_assumevalid.py

0
test/functional/bip68-sequence.py → test/functional/feature_bip68_sequence.py

0
test/functional/bip9-softforks.py → test/functional/feature_bip9_softforks.py

0
test/functional/p2p-fullblocktest.py → test/functional/feature_block.py

0
test/functional/bip65-cltv-p2p.py → test/functional/feature_cltv.py

0
test/functional/conf_args.py → test/functional/feature_config_args.py

0
test/functional/bip68-112-113-p2p.py → test/functional/feature_csv_activation.py

0
test/functional/dbcrash.py → test/functional/feature_dbcrash.py

0
test/functional/bipdersig-p2p.py → test/functional/feature_dersig.py

0
test/functional/smartfees.py → test/functional/feature_fee_estimation.py

0
test/functional/maxuploadtarget.py → test/functional/feature_maxuploadtarget.py

0
test/functional/minchainwork.py → test/functional/feature_minchainwork.py

0
test/functional/notifications.py → test/functional/feature_notifications.py

0
test/functional/nulldummy.py → test/functional/feature_nulldummy.py

0
test/functional/proxy_test.py → test/functional/feature_proxy.py

0
test/functional/pruning.py → test/functional/feature_pruning.py

0
test/functional/replace-by-fee.py → test/functional/feature_rbf.py

0
test/functional/reindex.py → test/functional/feature_reindex.py

0
test/functional/segwit.py → test/functional/feature_segwit.py

0
test/functional/uacomment.py → test/functional/feature_uacomment.py

0
test/functional/p2p-versionbits-warning.py → test/functional/feature_versionbits_warning.py

44
test/functional/test_runner.py

@ -58,10 +58,10 @@ BASE_SCRIPTS= [
'wallet-hd.py', 'wallet-hd.py',
'walletbackup.py', 'walletbackup.py',
# vv Tests less than 5m vv # vv Tests less than 5m vv
'p2p-fullblocktest.py', 'feature_block.py',
'fundrawtransaction.py', 'fundrawtransaction.py',
'p2p-compactblocks.py', 'p2p-compactblocks.py',
'segwit.py', 'feature_segwit.py',
# vv Tests less than 2m vv # vv Tests less than 2m vv
'wallet.py', 'wallet.py',
'wallet-accounts.py', 'wallet-accounts.py',
@ -76,10 +76,10 @@ BASE_SCRIPTS= [
'merkle_blocks.py', 'merkle_blocks.py',
'receivedby.py', 'receivedby.py',
'abandonconflict.py', 'abandonconflict.py',
'bip68-112-113-p2p.py', 'feature_csv_activation.py',
'rawtransactions.py', 'rawtransactions.py',
'address_types.py', 'address_types.py',
'reindex.py', 'feature_reindex.py',
# vv Tests less than 30s vv # vv Tests less than 30s vv
'keypool-topup.py', 'keypool-topup.py',
'zmq_test.py', 'zmq_test.py',
@ -97,7 +97,7 @@ BASE_SCRIPTS= [
'multiwallet.py --usecli', 'multiwallet.py --usecli',
'httpbasics.py', 'httpbasics.py',
'multi_rpc.py', 'multi_rpc.py',
'proxy_test.py', 'feature_proxy.py',
'signrawtransactions.py', 'signrawtransactions.py',
'disconnect_ban.py', 'disconnect_ban.py',
'decodescript.py', 'decodescript.py',
@ -110,11 +110,11 @@ BASE_SCRIPTS= [
'prioritise_transaction.py', 'prioritise_transaction.py',
'invalidblockrequest.py', 'invalidblockrequest.py',
'invalidtxrequest.py', 'invalidtxrequest.py',
'p2p-versionbits-warning.py', 'feature_versionbits_warning.py',
'preciousblock.py', 'preciousblock.py',
'importprunedfunds.py', 'importprunedfunds.py',
'signmessages.py', 'signmessages.py',
'nulldummy.py', 'feature_nulldummy.py',
'import-rescan.py', 'import-rescan.py',
'mining.py', 'mining.py',
'bumpfee.py', 'bumpfee.py',
@ -122,17 +122,17 @@ BASE_SCRIPTS= [
'listsinceblock.py', 'listsinceblock.py',
'p2p-leaktests.py', 'p2p-leaktests.py',
'wallet-encryption.py', 'wallet-encryption.py',
'bipdersig-p2p.py', 'feature_dersig.py',
'bip65-cltv-p2p.py', 'feature_cltv.py',
'uptime.py', 'uptime.py',
'resendwallettransactions.py', 'resendwallettransactions.py',
'minchainwork.py', 'feature_minchainwork.py',
'p2p-fingerprint.py', 'p2p-fingerprint.py',
'uacomment.py', 'feature_uacomment.py',
'p2p-acceptblock.py', 'p2p-acceptblock.py',
'feature_logging.py', 'feature_logging.py',
'node_network_limited.py', 'node_network_limited.py',
'conf_args.py', 'feature_config_args.py',
# Don't append tests at the end to avoid merge conflicts # 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 # Put them in a random line within the section that fits their approximate run-time
] ]
@ -140,29 +140,29 @@ BASE_SCRIPTS= [
EXTENDED_SCRIPTS = [ EXTENDED_SCRIPTS = [
# These tests are not run by the travis build process. # These tests are not run by the travis build process.
# Longest test should go first, to favor running tests in parallel # Longest test should go first, to favor running tests in parallel
'pruning.py', 'feature_pruning.py',
# vv Tests less than 20m vv # vv Tests less than 20m vv
'smartfees.py', 'feature_fee_estimation.py',
# vv Tests less than 5m vv # vv Tests less than 5m vv
'maxuploadtarget.py', 'feature_maxuploadtarget.py',
'mempool_packages.py', 'mempool_packages.py',
'dbcrash.py', 'feature_dbcrash.py',
# vv Tests less than 2m vv # vv Tests less than 2m vv
'bip68-sequence.py', 'feature_bip68_sequence.py',
'getblocktemplate_longpoll.py', 'getblocktemplate_longpoll.py',
'p2p-timeouts.py', 'p2p-timeouts.py',
# vv Tests less than 60s vv # vv Tests less than 60s vv
'bip9-softforks.py', 'feature_bip9_softforks.py',
'p2p-feefilter.py', 'p2p-feefilter.py',
'rpcbind_test.py', 'rpcbind_test.py',
# vv Tests less than 30s vv # vv Tests less than 30s vv
'assumevalid.py', 'feature_assumevalid.py',
'example_test.py', 'example_test.py',
'txn_doublespend.py', 'txn_doublespend.py',
'txn_clone.py --mineblock', 'txn_clone.py --mineblock',
'notifications.py', 'feature_notifications.py',
'invalidateblock.py', 'invalidateblock.py',
'replace-by-fee.py', 'feature_rbf.py',
] ]
# Place EXTENDED_SCRIPTS first since it has the 3 longest running tests # Place EXTENDED_SCRIPTS first since it has the 3 longest running tests
@ -474,7 +474,7 @@ class TestResult():
def check_script_prefixes(): def check_script_prefixes():
"""Check that no more than `EXPECTED_VIOLATION_COUNT` of the """Check that no more than `EXPECTED_VIOLATION_COUNT` of the
test scripts don't start with one of the allowed name prefixes.""" 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 # LEEWAY is provided as a transition measure, so that pull-requests
# that introduce new tests that don't conform with the naming # that introduce new tests that don't conform with the naming

Loading…
Cancel
Save