Skip to content

Conversation

@meshcollider
Copy link
Contributor

The only function in testutil.cpp, GetTempPath() simply called fs::temp_directory_path() directly. This just tidies things up by removing that redundant function and the file containing it

I can understand wanting a general util file for tests to use, but if there's nothing in it, we might as well remove it, it can always be added back later when it's put to use.

@practicalswift
Copy link
Contributor

utACK d1138e3. Nice cleanup!

@laanwj
Copy link
Member

laanwj commented Sep 5, 2017

I can understand wanting a general util file for tests to use

That's why I kept it around, but yeah, if someone wants a test utility cpp/h they can re-add it.

@maflcko
Copy link
Member

maflcko commented Sep 5, 2017

utACK d1138e3. The file collapsed after removal of boost.

@laanwj laanwj merged commit d1138e3 into bitcoin:master Sep 5, 2017
laanwj added a commit that referenced this pull request Sep 5, 2017
d1138e3 Remove redundant testutil files (MeshCollider)

Pull request description:

  The only function in testutil.cpp, `GetTempPath()` simply called `fs::temp_directory_path()` directly. This just tidies things up by removing that redundant function and the file containing it

  I can understand wanting a general util file for tests to use, but if there's nothing in it, we might as well remove it, it can always be added back later when it's put to use.

Tree-SHA512: b923f99acf33328743755368a1aa90f5da4a7d5f61b163a4b0b894275c98db80a91edf8f051fbfb4893d970fda5a9078aae78a2672867ff521c4ca4b653c71c0
@meshcollider meshcollider deleted the 201709_remove_testutil branch September 6, 2017 01:34
maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Oct 3, 2017
codablock pushed a commit to codablock/dash that referenced this pull request Sep 24, 2019
d1138e3 Remove redundant testutil files (MeshCollider)

Pull request description:

  The only function in testutil.cpp, `GetTempPath()` simply called `fs::temp_directory_path()` directly. This just tidies things up by removing that redundant function and the file containing it

  I can understand wanting a general util file for tests to use, but if there's nothing in it, we might as well remove it, it can always be added back later when it's put to use.

Tree-SHA512: b923f99acf33328743755368a1aa90f5da4a7d5f61b163a4b0b894275c98db80a91edf8f051fbfb4893d970fda5a9078aae78a2672867ff521c4ca4b653c71c0
@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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants