Skip to content

singleuse.pl: make it CMake compatible, fix to fail when input is missing - #23641

Closed
vszakats wants to merge 9 commits into
curl:masterfrom
vszakats:fix-single-use
Closed

vszakats wants to merge 9 commits into
curl:masterfrom
vszakats:fix-single-use

Conversation

@vszakats

@vszakats vszakats commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

To work in a CMake job, where it was silently reporting success
unconditionally before this patch. And, to make it fail where it cannot
actually run due to missing static libcurl library. These combined
resulted in silently making no tests in CI.

Also:

  • GHA/linux: fix to disable running this script in configure jobs
    not building static libs.
  • GHA/linux: enable in a fitting autotools job.

After this patch the test in running in jobs 'CM awslc' and 'AM openssl
default'. I tackle the issues found in a separate PR. → #23642

@vszakats vszakats changed the title singleuse.pl: make it fail if a static libcurl is missing singleuse.pl: make it fail if libcurl.a is missing Oct 28, 2026
@vszakats vszakats changed the title singleuse.pl: make it fail if libcurl.a is missing singleuse.pl: make it fail if static libcurl lib is missing Oct 28, 2026
@github-actions github-actions Bot added the CI Continuous Integration label Oct 28, 2026
@vszakats vszakats changed the title singleuse.pl: make it fail if static libcurl lib is missing singleuse.pl: make it CMake compatible, fix to fail when input is missing Oct 28, 2026
@vszakats vszakats closed this in e082b31 Oct 28, 2026
@vszakats
vszakats deleted the fix-single-use branch October 28, 2026 02:30
vszakats added a commit that referenced this pull request Oct 28, 2026
Fixing issues found by `singleuse.pl`:
```
Curl_conn_get_alpn_negotiated in cfilters
Curl_cpool_get_instance in conncache
Curl_hash_next_element in hash
Curl_hash_start_iterate in hash
Curl_read16_be in curl_endian
```
Ref: https://github.com/curl/curl/actions/runs/40620102312/job/122592024313#step:39:30

Follow-up to e082b31 #23641

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

Labels

CI Continuous Integration script

Development

Successfully merging this pull request may close these issues.

1 participant