0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-09 10:43:19 -05:00

Explicitly mark legacy wallet tests as such

Some tests are intended to test only legacy wallet behavior. With
automatic switching of wallet type, we need to make them explicit
This commit is contained in:
Andrew Chow 2020-11-06 14:22:05 -05:00
parent 09514e1bef
commit b1b679e0ab

View file

@ -86,29 +86,29 @@ EXTENDED_SCRIPTS = [
BASE_SCRIPTS = [ BASE_SCRIPTS = [
# Scripts that are run by default. # Scripts that are run by default.
# Longest test should go first, to favor running tests in parallel # Longest test should go first, to favor running tests in parallel
'wallet_hd.py', 'wallet_hd.py --legacy-wallet',
'wallet_hd.py --descriptors', 'wallet_hd.py --descriptors',
'wallet_backup.py', 'wallet_backup.py --legacy-wallet',
'wallet_backup.py --descriptors', 'wallet_backup.py --descriptors',
# vv Tests less than 5m vv # vv Tests less than 5m vv
'mining_getblocktemplate_longpoll.py', 'mining_getblocktemplate_longpoll.py',
'feature_maxuploadtarget.py', 'feature_maxuploadtarget.py',
'feature_block.py', 'feature_block.py',
'rpc_fundrawtransaction.py', 'rpc_fundrawtransaction.py --legacy-wallet',
'rpc_fundrawtransaction.py --descriptors', 'rpc_fundrawtransaction.py --descriptors',
'p2p_compactblocks.py', 'p2p_compactblocks.py',
'feature_segwit.py --legacy-wallet', 'feature_segwit.py --legacy-wallet',
# vv Tests less than 2m vv # vv Tests less than 2m vv
'wallet_basic.py', 'wallet_basic.py --legacy-wallet',
'wallet_basic.py --descriptors', 'wallet_basic.py --descriptors',
'wallet_labels.py', 'wallet_labels.py --legacy-wallet',
'wallet_labels.py --descriptors', 'wallet_labels.py --descriptors',
'p2p_segwit.py', 'p2p_segwit.py',
'p2p_timeouts.py', 'p2p_timeouts.py',
'p2p_tx_download.py', 'p2p_tx_download.py',
'mempool_updatefromblock.py', 'mempool_updatefromblock.py',
'wallet_dump.py --legacy-wallet', 'wallet_dump.py --legacy-wallet',
'wallet_listtransactions.py', 'wallet_listtransactions.py --legacy-wallet',
'wallet_listtransactions.py --descriptors', 'wallet_listtransactions.py --descriptors',
'feature_taproot.py', 'feature_taproot.py',
# vv Tests less than 60s vv # vv Tests less than 60s vv
@ -116,28 +116,28 @@ BASE_SCRIPTS = [
'wallet_importmulti.py --legacy-wallet', 'wallet_importmulti.py --legacy-wallet',
'mempool_limit.py', 'mempool_limit.py',
'rpc_txoutproof.py', 'rpc_txoutproof.py',
'wallet_listreceivedby.py', 'wallet_listreceivedby.py --legacy-wallet',
'wallet_listreceivedby.py --descriptors', 'wallet_listreceivedby.py --descriptors',
'wallet_abandonconflict.py', 'wallet_abandonconflict.py --legacy-wallet',
'wallet_abandonconflict.py --descriptors', 'wallet_abandonconflict.py --descriptors',
'feature_csv_activation.py', 'feature_csv_activation.py',
'rpc_rawtransaction.py', 'rpc_rawtransaction.py --legacy-wallet',
'rpc_rawtransaction.py --descriptors', 'rpc_rawtransaction.py --descriptors',
'wallet_address_types.py', 'wallet_address_types.py --legacy-wallet',
'wallet_address_types.py --descriptors', 'wallet_address_types.py --descriptors',
'feature_bip68_sequence.py', 'feature_bip68_sequence.py',
'p2p_feefilter.py', 'p2p_feefilter.py',
'feature_reindex.py', 'feature_reindex.py',
'feature_abortnode.py', 'feature_abortnode.py',
# vv Tests less than 30s vv # vv Tests less than 30s vv
'wallet_keypool_topup.py', 'wallet_keypool_topup.py --legacy-wallet',
'wallet_keypool_topup.py --descriptors', 'wallet_keypool_topup.py --descriptors',
'feature_fee_estimation.py', 'feature_fee_estimation.py',
'interface_zmq.py', 'interface_zmq.py',
'interface_bitcoin_cli.py', 'interface_bitcoin_cli.py',
'mempool_resurrect.py', 'mempool_resurrect.py',
'wallet_txn_doublespend.py --mineblock', 'wallet_txn_doublespend.py --mineblock',
'tool_wallet.py', 'tool_wallet.py --legacy-wallet',
'tool_wallet.py --descriptors', 'tool_wallet.py --descriptors',
'wallet_txn_clone.py', 'wallet_txn_clone.py',
'wallet_txn_clone.py --segwit', 'wallet_txn_clone.py --segwit',
@ -145,14 +145,14 @@ BASE_SCRIPTS = [
'rpc_misc.py', 'rpc_misc.py',
'interface_rest.py', 'interface_rest.py',
'mempool_spend_coinbase.py', 'mempool_spend_coinbase.py',
'wallet_avoidreuse.py', 'wallet_avoidreuse.py --legacy-wallet',
'wallet_avoidreuse.py --descriptors', 'wallet_avoidreuse.py --descriptors',
'mempool_reorg.py', 'mempool_reorg.py',
'mempool_persist.py', 'mempool_persist.py',
'wallet_multiwallet.py', 'wallet_multiwallet.py --legacy-wallet',
'wallet_multiwallet.py --descriptors', 'wallet_multiwallet.py --descriptors',
'wallet_multiwallet.py --usecli', 'wallet_multiwallet.py --usecli',
'wallet_createwallet.py', 'wallet_createwallet.py --legacy-wallet',
'wallet_createwallet.py --usecli', 'wallet_createwallet.py --usecli',
'wallet_createwallet.py --descriptors', 'wallet_createwallet.py --descriptors',
'wallet_watchonly.py --legacy-wallet', 'wallet_watchonly.py --legacy-wallet',
@ -160,27 +160,27 @@ BASE_SCRIPTS = [
'wallet_reorgsrestore.py', 'wallet_reorgsrestore.py',
'interface_http.py', 'interface_http.py',
'interface_rpc.py', 'interface_rpc.py',
'rpc_psbt.py', 'rpc_psbt.py --legacy-wallet',
'rpc_psbt.py --descriptors', 'rpc_psbt.py --descriptors',
'rpc_users.py', 'rpc_users.py',
'rpc_whitelist.py', 'rpc_whitelist.py',
'feature_proxy.py', 'feature_proxy.py',
'rpc_signrawtransaction.py', 'rpc_signrawtransaction.py --legacy-wallet',
'rpc_signrawtransaction.py --descriptors', 'rpc_signrawtransaction.py --descriptors',
'wallet_groups.py', 'wallet_groups.py --legacy-wallet',
'p2p_addrv2_relay.py', 'p2p_addrv2_relay.py',
'wallet_groups.py --descriptors', 'wallet_groups.py --descriptors',
'p2p_disconnect_ban.py', 'p2p_disconnect_ban.py',
'rpc_decodescript.py', 'rpc_decodescript.py',
'rpc_blockchain.py', 'rpc_blockchain.py',
'rpc_deprecated.py', 'rpc_deprecated.py',
'wallet_disable.py', 'wallet_disable.py --legacy-wallet',
'wallet_disable.py --descriptors', 'wallet_disable.py --descriptors',
'p2p_addr_relay.py', 'p2p_addr_relay.py',
'p2p_getaddr_caching.py', 'p2p_getaddr_caching.py',
'p2p_getdata.py', 'p2p_getdata.py',
'rpc_net.py', 'rpc_net.py',
'wallet_keypool.py', 'wallet_keypool.py --legacy-wallet',
'wallet_keypool.py --descriptors', 'wallet_keypool.py --descriptors',
'wallet_descriptor.py --descriptors', 'wallet_descriptor.py --descriptors',
'p2p_nobloomfilter_messages.py', 'p2p_nobloomfilter_messages.py',
@ -194,9 +194,9 @@ BASE_SCRIPTS = [
'p2p_invalid_tx.py', 'p2p_invalid_tx.py',
'feature_assumevalid.py', 'feature_assumevalid.py',
'example_test.py', 'example_test.py',
'wallet_txn_doublespend.py', 'wallet_txn_doublespend.py --legacy-wallet',
'wallet_txn_doublespend.py --descriptors', 'wallet_txn_doublespend.py --descriptors',
'feature_backwards_compatibility.py', 'feature_backwards_compatibility.py --legacy-wallet',
'feature_backwards_compatibility.py --descriptors', 'feature_backwards_compatibility.py --descriptors',
'wallet_txn_clone.py --mineblock', 'wallet_txn_clone.py --mineblock',
'feature_notifications.py', 'feature_notifications.py',
@ -205,20 +205,20 @@ BASE_SCRIPTS = [
'feature_rbf.py', 'feature_rbf.py',
'mempool_packages.py', 'mempool_packages.py',
'mempool_package_onemore.py', 'mempool_package_onemore.py',
'rpc_createmultisig.py', 'rpc_createmultisig.py --legacy-wallet',
'rpc_createmultisig.py --descriptors', 'rpc_createmultisig.py --descriptors',
'feature_versionbits_warning.py', 'feature_versionbits_warning.py',
'rpc_preciousblock.py', 'rpc_preciousblock.py',
'wallet_importprunedfunds.py', 'wallet_importprunedfunds.py --legacy-wallet',
'wallet_importprunedfunds.py --descriptors', 'wallet_importprunedfunds.py --descriptors',
'p2p_leak_tx.py', 'p2p_leak_tx.py',
'p2p_eviction.py', 'p2p_eviction.py',
'rpc_signmessage.py', 'rpc_signmessage.py',
'rpc_generateblock.py', 'rpc_generateblock.py',
'rpc_generate.py', 'rpc_generate.py',
'wallet_balance.py', 'wallet_balance.py --legacy-wallet',
'wallet_balance.py --descriptors', 'wallet_balance.py --descriptors',
'feature_nulldummy.py', 'feature_nulldummy.py --legacy-wallet',
'feature_nulldummy.py --descriptors', 'feature_nulldummy.py --descriptors',
'mempool_accept.py', 'mempool_accept.py',
'mempool_expiry.py', 'mempool_expiry.py',
@ -231,32 +231,32 @@ BASE_SCRIPTS = [
'rpc_bind.py --nonloopback', 'rpc_bind.py --nonloopback',
'mining_basic.py', 'mining_basic.py',
'feature_signet.py', 'feature_signet.py',
'wallet_bumpfee.py', 'wallet_bumpfee.py --legacy-wallet',
'wallet_bumpfee.py --descriptors', 'wallet_bumpfee.py --descriptors',
'wallet_implicitsegwit.py --legacy-wallet', 'wallet_implicitsegwit.py --legacy-wallet',
'rpc_named_arguments.py', 'rpc_named_arguments.py',
'wallet_listsinceblock.py', 'wallet_listsinceblock.py --legacy-wallet',
'wallet_listsinceblock.py --descriptors', 'wallet_listsinceblock.py --descriptors',
'p2p_leak.py', 'p2p_leak.py',
'wallet_encryption.py', 'wallet_encryption.py --legacy-wallet',
'wallet_encryption.py --descriptors', 'wallet_encryption.py --descriptors',
'feature_dersig.py', 'feature_dersig.py',
'feature_cltv.py', 'feature_cltv.py',
'rpc_uptime.py', 'rpc_uptime.py',
'wallet_resendwallettransactions.py', 'wallet_resendwallettransactions.py --legacy-wallet',
'wallet_resendwallettransactions.py --descriptors', 'wallet_resendwallettransactions.py --descriptors',
'wallet_fallbackfee.py', 'wallet_fallbackfee.py --legacy-wallet',
'wallet_fallbackfee.py --descriptors', 'wallet_fallbackfee.py --descriptors',
'rpc_dumptxoutset.py', 'rpc_dumptxoutset.py',
'feature_minchainwork.py', 'feature_minchainwork.py',
'rpc_estimatefee.py', 'rpc_estimatefee.py',
'rpc_getblockstats.py', 'rpc_getblockstats.py',
'wallet_create_tx.py', 'wallet_create_tx.py --legacy-wallet',
'wallet_send.py', 'wallet_send.py',
'wallet_create_tx.py --descriptors', 'wallet_create_tx.py --descriptors',
'p2p_fingerprint.py', 'p2p_fingerprint.py',
'feature_uacomment.py', 'feature_uacomment.py',
'wallet_coinbase_category.py', 'wallet_coinbase_category.py --legacy-wallet',
'wallet_coinbase_category.py --descriptors', 'wallet_coinbase_category.py --descriptors',
'feature_filelock.py', 'feature_filelock.py',
'feature_loadblock.py', 'feature_loadblock.py',