Skip to content

Commit 58c00b7

Browse files
committed
remove most tests to pinpoint the failure
1 parent a033f27 commit 58c00b7

File tree

4 files changed

+15
-150
lines changed

4 files changed

+15
-150
lines changed

src/bench/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,4 @@ if(ENABLE_WALLET)
7979
target_link_libraries(bench_bitcoin bitcoin_wallet)
8080
endif()
8181

82-
add_test(NAME bench_sanity_check_high_priority
83-
COMMAND bench_bitcoin -sanity-check -priority-level=high
84-
)
85-
8682
install_binary_component(bench_bitcoin)

src/test/CMakeLists.txt

Lines changed: 0 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -6,123 +6,7 @@
66
# SOURCES property is processed to gather test suite macros.
77
add_executable(test_bitcoin
88
main.cpp
9-
addrman_tests.cpp
10-
allocator_tests.cpp
11-
amount_tests.cpp
12-
argsman_tests.cpp
13-
arith_uint256_tests.cpp
14-
banman_tests.cpp
15-
base32_tests.cpp
16-
base58_tests.cpp
17-
base64_tests.cpp
18-
bech32_tests.cpp
19-
bip32_tests.cpp
20-
bip324_tests.cpp
21-
blockchain_tests.cpp
22-
blockencodings_tests.cpp
23-
blockfilter_index_tests.cpp
24-
blockfilter_tests.cpp
25-
blockmanager_tests.cpp
26-
bloom_tests.cpp
27-
bswap_tests.cpp
28-
checkqueue_tests.cpp
29-
cluster_linearize_tests.cpp
30-
coins_tests.cpp
31-
coinscachepair_tests.cpp
32-
coinstatsindex_tests.cpp
33-
common_url_tests.cpp
34-
compilerbug_tests.cpp
35-
compress_tests.cpp
36-
crypto_tests.cpp
37-
cuckoocache_tests.cpp
38-
dbwrapper_tests.cpp
39-
denialofservice_tests.cpp
40-
descriptor_tests.cpp
41-
disconnected_transactions.cpp
42-
feefrac_tests.cpp
43-
flatfile_tests.cpp
44-
fs_tests.cpp
45-
getarg_tests.cpp
46-
hash_tests.cpp
47-
headers_sync_chainwork_tests.cpp
48-
httpserver_tests.cpp
49-
i2p_tests.cpp
50-
interfaces_tests.cpp
51-
key_io_tests.cpp
52-
key_tests.cpp
53-
logging_tests.cpp
54-
mempool_tests.cpp
55-
merkle_tests.cpp
56-
merkleblock_tests.cpp
57-
miner_tests.cpp
58-
miniminer_tests.cpp
59-
miniscript_tests.cpp
60-
minisketch_tests.cpp
61-
multisig_tests.cpp
62-
net_peer_connection_tests.cpp
63-
net_peer_eviction_tests.cpp
64-
net_tests.cpp
65-
netbase_tests.cpp
66-
node_warnings_tests.cpp
67-
orphanage_tests.cpp
68-
pcp_tests.cpp
69-
peerman_tests.cpp
70-
pmt_tests.cpp
71-
policy_fee_tests.cpp
72-
policyestimator_tests.cpp
73-
pool_tests.cpp
74-
pow_tests.cpp
75-
prevector_tests.cpp
76-
raii_event_tests.cpp
77-
random_tests.cpp
78-
rbf_tests.cpp
79-
rest_tests.cpp
80-
result_tests.cpp
81-
reverselock_tests.cpp
82-
rpc_tests.cpp
83-
sanity_tests.cpp
84-
scheduler_tests.cpp
85-
script_p2sh_tests.cpp
86-
script_parse_tests.cpp
87-
script_segwit_tests.cpp
88-
script_standard_tests.cpp
89-
script_tests.cpp
90-
scriptnum_tests.cpp
91-
serfloat_tests.cpp
92-
serialize_tests.cpp
93-
settings_tests.cpp
94-
sighash_tests.cpp
95-
sigopcount_tests.cpp
96-
skiplist_tests.cpp
97-
sock_tests.cpp
98-
span_tests.cpp
999
streams_tests.cpp
100-
sync_tests.cpp
101-
system_tests.cpp
102-
testnet4_miner_tests.cpp
103-
timeoffsets_tests.cpp
104-
torcontrol_tests.cpp
105-
transaction_tests.cpp
106-
translation_tests.cpp
107-
txdownload_tests.cpp
108-
txindex_tests.cpp
109-
txpackage_tests.cpp
110-
txreconciliation_tests.cpp
111-
txrequest_tests.cpp
112-
txvalidation_tests.cpp
113-
txvalidationcache_tests.cpp
114-
uint256_tests.cpp
115-
util_string_tests.cpp
116-
util_tests.cpp
117-
util_threadnames_tests.cpp
118-
util_trace_tests.cpp
119-
validation_block_tests.cpp
120-
validation_chainstate_tests.cpp
121-
validation_chainstatemanager_tests.cpp
122-
validation_flush_tests.cpp
123-
validation_tests.cpp
124-
validationinterface_tests.cpp
125-
versionbits_tests.cpp
12610
)
12711

12812
include(TargetDataSources)

src/wallet/test/CMakeLists.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,6 @@
66
# SOURCES property is processed to gather test suite macros.
77
target_sources(test_bitcoin
88
PRIVATE
9-
init_test_fixture.cpp
10-
wallet_test_fixture.cpp
119
db_tests.cpp
12-
coinselector_tests.cpp
13-
feebumper_tests.cpp
14-
group_outputs_tests.cpp
15-
init_tests.cpp
16-
ismine_tests.cpp
17-
psbt_wallet_tests.cpp
18-
scriptpubkeyman_tests.cpp
19-
spend_tests.cpp
20-
wallet_crypto_tests.cpp
21-
wallet_tests.cpp
22-
wallet_transaction_tests.cpp
23-
walletdb_tests.cpp
24-
walletload_tests.cpp
2510
)
2611
target_link_libraries(test_bitcoin bitcoin_wallet)

test/functional/test_runner.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -87,21 +87,6 @@
8787
'feature_dbcrash.py',
8888
'feature_index_prune.py',
8989
'wallet_pruning.py --legacy-wallet',
90-
]
91-
92-
BASE_SCRIPTS = [
93-
# Scripts that are run by default.
94-
# Longest test should go first, to favor running tests in parallel
95-
# vv Tests less than 5m vv
96-
'feature_fee_estimation.py',
97-
'feature_taproot.py',
98-
'feature_block.py',
99-
'mempool_ephemeral_dust.py',
100-
'wallet_conflicts.py --legacy-wallet',
101-
'wallet_conflicts.py --descriptors',
102-
'p2p_opportunistic_1p1c.py',
103-
'p2p_node_network_limited.py --v1transport',
104-
'p2p_node_network_limited.py --v2transport',
10590
# vv Tests less than 2m vv
10691
'mining_getblocktemplate_longpoll.py',
10792
'p2p_segwit.py',
@@ -418,6 +403,21 @@
418403
# Put them in a random line within the section that fits their approximate run-time
419404
]
420405

406+
BASE_SCRIPTS = [
407+
# Scripts that are run by default.
408+
# Longest test should go first, to favor running tests in parallel
409+
# vv Tests less than 5m vv
410+
'feature_fee_estimation.py',
411+
'feature_taproot.py',
412+
'feature_block.py',
413+
'mempool_ephemeral_dust.py',
414+
'wallet_conflicts.py --legacy-wallet',
415+
'wallet_conflicts.py --descriptors',
416+
'p2p_opportunistic_1p1c.py',
417+
'p2p_node_network_limited.py --v1transport',
418+
'p2p_node_network_limited.py --v2transport',
419+
]
420+
421421
# Place EXTENDED_SCRIPTS first since it has the 3 longest running tests
422422
ALL_SCRIPTS = EXTENDED_SCRIPTS + BASE_SCRIPTS
423423

0 commit comments

Comments
 (0)