Skip to content

build: drop unused getpart tool - #16460

Closed
vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:getpart-rename
Closed

vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:getpart-rename

Conversation

@vszakats

@vszakats vszakats commented Feb 24, 2025 •

Copy link
Copy Markdown
Member

Drop the getpart test tool from standard builds. This tool was not
used by tests.

Also:

  • make it easier to build it standalone for testing getpart.c on
    the command-line.
  • reduce local var scopes in source.

@bagder

bagder commented Feb 24, 2025

Copy link
Copy Markdown
Member

I have used it the past when debugging, but I can't remember having used it for years. I don't think it needs to be built by default, no.

@testclutch

This comment was marked as outdated.

@vszakats

vszakats commented Feb 24, 2025 •

Copy link
Copy Markdown
Member Author

OK, I dropped this tool from the builds and made it simpler to build
it standalone, though it may need a little bit of fiddling with out-of-tree
builds.

@vszakats vszakats changed the title tests: rename getpart tool to testpart build: drop unused getpart tool Feb 24, 2025
@dfandrich

Copy link
Copy Markdown
Contributor

I don't recall ever using it.

@vszakats vszakats closed this in 3175984 Feb 25, 2025
@vszakats
vszakats deleted the getpart-rename branch February 25, 2025 00:53
icing pushed a commit to icing/curl that referenced this pull request Feb 25, 2025
Drop the `getpart` test tool from standard builds. This tool was not
used by tests.

Also:
- make it easier to build it standalone for testing `getpart.c` on
  the command-line.
- reduce local var scopes in source.

Closes curl#16460
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
Drop the `getpart` test tool from standard builds. This tool was not
used by tests.

Also:
- make it easier to build it standalone for testing `getpart.c` on
  the command-line.
- reduce local var scopes in source.

Closes curl#16460
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants