Skip to content

Conversation

@sipa
Copy link
Member

@sipa sipa commented Mar 3, 2015

No description provided.

@sipa
Copy link
Member Author

sipa commented Mar 3, 2015

Tested with valgrind: zero memory leaks in test_bitcoin.

@laanwj laanwj added the Tests label Mar 3, 2015
This changes the TestingSetup fixture to be per-unit-test rather than global.
Most tests don't need it, so it's only invoked in a few.
@sipa
Copy link
Member Author

sipa commented Mar 3, 2015

@gavinandresen ping

@gavinandresen
Copy link
Contributor

Code review ACK-- very nice!

I'll re-implement the #5835 unit test on top of this after lunch, to test.

@gavinandresen
Copy link
Contributor

ACK. Tested by reimplementing unit test of #5835 with a REGTEST-mode 100-block chain.

@laanwj
Copy link
Member

laanwj commented Mar 9, 2015

utACK

@laanwj laanwj merged commit 51598b2 into bitcoin:master Mar 9, 2015
laanwj added a commit that referenced this pull request Mar 9, 2015
51598b2 Reinitialize state in between individual unit tests. (Pieter Wuille)
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants