mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-28 06:50:38 +01:00
Merge #10695: [qa] Rewrite BIP65/BIP66 functional tests
4ccc12a54[qa] Rewrite BIP66 functional tests (Suhas Daftuar)d4f0d87b6[qa] Rewrite BIP65 functional tests (Suhas Daftuar) Pull request description: After122786d0e0, BIP65 and BIP66 activate at particular fixed heights (without regard to version numbers of blocks below those heights). Rewrite the functional tests to take this into account, and remove two tests that weren't really testing anything. Moves the rewritten functional tests out of the extended test suite, so that they run in travis regularly. Note: I discovered that the ComparisonTestFramework (which the original versions of these p2p tests were written is, has a bug that caused them to not catch obvious errors, eg if you just comment out setting the script flags for these softforks in ConnectBlock, the versions of these tests in master do not fail(!) -- will separately PR a fix for the comparison test framework). Tree-SHA512: 2108b79951f2e980854d0d14ccc0fd1810a43dd4251fd6e3b203e7f104ea55e00650bb1a60a28c2801b4249f46563a8559ac3e3cd39db220914acfed0b3b163d
This commit is contained in:
@@ -115,6 +115,8 @@ BASE_SCRIPTS= [
|
||||
'listsinceblock.py',
|
||||
'p2p-leaktests.py',
|
||||
'wallet-encryption.py',
|
||||
'bipdersig-p2p.py',
|
||||
'bip65-cltv-p2p.py',
|
||||
'uptime.py',
|
||||
]
|
||||
|
||||
@@ -138,10 +140,6 @@ EXTENDED_SCRIPTS = [
|
||||
'rpcbind_test.py',
|
||||
# vv Tests less than 30s vv
|
||||
'assumevalid.py',
|
||||
'bip65-cltv.py',
|
||||
'bip65-cltv-p2p.py',
|
||||
'bipdersig-p2p.py',
|
||||
'bipdersig.py',
|
||||
'example_test.py',
|
||||
'txn_doublespend.py',
|
||||
'txn_clone.py --mineblock',
|
||||
|
||||
Reference in New Issue
Block a user