Many tests don't actually need test_bitcoin.h, and are unnecessarily
recompiled every time a main program header gets changed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- streamlinetest
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5635 Build 9332: Bitcoin ABC Buildbot (legacy) Build 9331: arc lint + arc unit
Event Timeline
Comment Actions
concept ack, but for this diff to make it, either reword the title to match only this file or update the diff for the rest of the cases. up to you.
Comment Actions
Note from @dagurval on the slack--
This causes a crash if anyone introduces a test that runs code depending on global vars such as ChainParams()
And only when ran directly (test_bitcoin -t bech32_tests for example)
With some tests it seems 'totally obvious' that this would not happen, but it does make me a bit nervous.
Comment Actions
Abandoning this concept. In fact the BasicTestingSetup constructor sets up several important things.