Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 1, 2021 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/a6f177c3f0fea9c94990f67857b093a0 to your computer and use it in GitHub Desktop.
Save Whateverable/a6f177c3f0fea9c94990f67857b093a0 to your computer and use it in GitHub Desktop.
bisectable6
my sub foo { fail }(); CATCH { default { my $bt = .backtrace; dd $bt.list[0].code.name } }
Bisecting: 233 revisions left to test after this (roughly 8 steps)
[497c9e07186b5b7a700559d3fbd5cb1df71dccda] Merge branch 'master' of https://github.com/rakudo/rakudo into rakudo_3136
»»»»» Testing 497c9e07186b5b7a700559d3fbd5cb1df71dccda
»»»»» Script output:
"new"
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
"foo"
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 74f2d3f4656d92e7c903bc4b345024de6a7326c5
»»»»» Script output:
"new"
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
"foo"
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing a7ca396a255aa55fc7c838b8eb45d86edccc7805
»»»»» Script output:
"new"
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
"foo"
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fb6a7d35be2c8351207454f3800979cabcccdc43
»»»»» Script output:
"foo"
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
"foo"
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 96456b6e7ecf868b66467dbce50a6e11ee58c65a
»»»»» Script output:
"new"
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
"foo"
»»»»» The output is different
»»»»» Therefore, marking this revision as “new”
»»»»» -------------------------------------------------------------------------
»»»»» Testing fd9b826f1ceffe9cf5a137a00ddba9b61ff5454e
»»»»» Script output:
"foo"
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
"foo"
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 4357739a915010dda5bcffc314a841ba48f2058f
»»»»» Script output:
"foo"
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
"foo"
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 3f610d16972d73e3601f1053c9826ba27177afa6
»»»»» Script output:
"foo"
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
"foo"
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
»»»»» -------------------------------------------------------------------------
»»»»» Testing 357e1c49731371aa1ca6fb326ad341cbbe7c52b1
»»»»» Script output:
"foo"
»»»»» Script exit code: 0
»»»»» Bisecting by output
»»»»» Output on “old” revision is:
"foo"
»»»»» The output is identical
»»»»» Therefore, marking this revision as “old”
96456b6e7ecf868b66467dbce50a6e11ee58c65a is the first new commit
commit 96456b6e7ecf868b66467dbce50a6e11ee58c65a
Author: Vadim Belman <vrurg@lflat.org>
Date: Fri Jul 12 22:23:11 2019 -0400
Failure now first checks for existance of $! symbol
Also use CALLER::LEXICAL:: to conform with 'die'.
:040000 040000 f2063ec83c9c3e3d48d804387ac61d657587c95b eb145395ad37ed1aeb20ff567f3a72822d09b2bc M src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment