As per title
Details
Details
- Reviewers
jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGING4fcdb4c2f859: Make transaction ordering tests easier to debug
rABC4fcdb4c2f859: Make transaction ordering tests easier to debug
make VERBOSE=1 check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- mempool-tests
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3001 Build 4096: Bitcoin ABC Buildbot (legacy) Build 4095: arc lint + arc unit
Event Timeline
Comment Actions
This change shouldn't be necessary. Debugging steps (using gdb) to replicate similar behavior:
- break @ CheckSort() calls
- break @ BOOST_CHECK_EQUAL() then disable the breakpoint
- run
- once the breakpoint @ CheckSort() is hit, enable the breakpoint @ BOOST_CHECK_EQUAL()
- continue to BOOST_CHECK_EQUAL()
This process can be repeated to skip over unnecessary CheckSort() calls. Additionally, the breakpoint @ BOOST_CHECK_EQUAL() can be made conditional to only hit specific values of count to further reduce the number of breakpoints hit.
Comment Actions
Those steps don't actually work for being able to debug these tests. Having some kind of annotation makes debugging much simpler since this test is fragile.