Repository navigation
Conversation
`units` may be not be built in certain cases when using autotools. Fixes: https://app.circleci.com/pipelines/github/curl/curl/12669/workflows/8516da2b-b351-40b2-bf13-7c4ab4bcdd55/jobs/127197 Bug: curl#16750 (comment) Follow-up to a9b7cbf curl#16750
vszakats
added a commit
that referenced
this pull request
Mar 24, 2025
Before this patch, autotools disabled building unit tests for non-debug-enabled (`DEBUGBUILD`) builds. runtests skipped running this combination, though they were built in cmake builds. There seems to be no technical reason anymore for these restrictions. This patch removes them, allowing to build and run unit tests for non-debug-enabled builds. To improve unit test build and run coverage. - autotools: do not disable building unit tests for non-debug-enabled build. Bringing behavior closer to cmake builds. (There are still exceptions in autotools, something for another PR) - runtests: run unit tests for non-debug-enabled builds. It extends coverage by 50 tests. - `lib/altsvc.c`: fix to include `CURL_TIME` support in libcurlu, for unit tests. It fixes test 1654, and syncs `CURL_TIME` behavior with test 1660 and `lib/hsts.c`. Ref: 10a7d05 Ref: fc8e0de #13694 Ref: 99f78cb #16770 Closes #16771
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
`units` may be not be built in certain cases when using autotools. Fixes: https://app.circleci.com/pipelines/github/curl/curl/12669/workflows/8516da2b-b351-40b2-bf13-7c4ab4bcdd55/jobs/127197 Bug: curl#16750 (comment) Follow-up to a9b7cbf curl#16750 Closes curl#16770
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
Before this patch, autotools disabled building unit tests for non-debug-enabled (`DEBUGBUILD`) builds. runtests skipped running this combination, though they were built in cmake builds. There seems to be no technical reason anymore for these restrictions. This patch removes them, allowing to build and run unit tests for non-debug-enabled builds. To improve unit test build and run coverage. - autotools: do not disable building unit tests for non-debug-enabled build. Bringing behavior closer to cmake builds. (There are still exceptions in autotools, something for another PR) - runtests: run unit tests for non-debug-enabled builds. It extends coverage by 50 tests. - `lib/altsvc.c`: fix to include `CURL_TIME` support in libcurlu, for unit tests. It fixes test 1654, and syncs `CURL_TIME` behavior with test 1660 and `lib/hsts.c`. Ref: 10a7d05 Ref: fc8e0de curl#13694 Ref: 99f78cb curl#16770 Closes curl#16771
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
unitsmay be not be built in certain cases when using autotools.Fixes:
https://app.circleci.com/pipelines/github/curl/curl/12669/workflows/8516da2b-b351-40b2-bf13-7c4ab4bcdd55/jobs/127197
Bug: #16750 (comment)
Follow-up to a9b7cbf #16750
Confirmed working in Circle CI: https://app.circleci.com/pipelines/github/curl/curl/12670/workflows/5185f6e8-b022-4b7e-83e7-033fd8dad37b/jobs/127205