[0.12 backport] script_tests improvements from master and #7818 #7854
pull sipa wants to merge 8 commits into bitcoin:0.12 from sipa:refactorscriptests_12 changing 6 files +2193 −2057-
sipa commented at 3:42 pm on April 10, 2016: memberAssuming #7818 gets merged, here is a backport to 0.12, to unify the framework across branches.
-
test: Re-introduce JSON pretty printing in test builder 04325178f0
-
test: Script_error checking in script_invalid tests
Check the returned script_error. Add expected script_error for generated as well as custom tests. The specific error is not part of consensus, however it could avoid unclear reporting issues such as #6862 in the future. Fixes #7513.
-
Fix JSON pretty printing in script_tests c9a31324ca
-
Fix some misconstructed tests
They claimed to be testing P2SH scripts with non-push scriptSigs, but 1) they were not enabling P2SH 2) they have push-only scriptSigs Fix this, and add a few more related cases.
-
Fix formatting of NOPs for generated script tests 1d96f5b4e1
-
Make script_error a mandatory 4th field for script_tests 1bc3717c7e
-
Get rid of expect in script_tests as it's implied by scripterror bc17838348
-
Merge script_valid and script_invalid tests 0695ea1e8c
-
sipa renamed this:
[0.12 backport] Various script_tests improvements from master and #7818
[0.12 backport] script_tests improvements from master and #7818
on Apr 10, 2016 -
laanwj added the label Tests on Apr 11, 2016
-
laanwj added this to the milestone 0.12.0 on Apr 11, 2016
-
MarcoFalke commented at 8:37 am on April 12, 2016: member
Nit: I’d prefer if you used
git cherry-pick -x $HASH
instead, so it is clear that those are backports.Edit: I think the syntax @laanwj prefers in the commit body of the backport commit is:
0Github-Pull: [#1234](/bitcoin-bitcoin/1234/) 1Rebased-From: aaaaaa, bbbbbb
-
laanwj commented at 6:32 am on April 15, 2016: memberRight - the idea behind those “footers” in the commit message is to be able to instantly see what pull request / master commit(s) a commit came from. The scripting to create the list of pulls in the release notes makes use of this.
-
laanwj closed this on May 31, 2016
-
MarcoFalke locked this on Sep 8, 2021
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-07-09 09:13 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-07-09 09:13 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me