Skip to content

runtests: fix bundle detection by not looking for units - #16770

Closed
vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:fix-bundle-detection
Closed

vszakats wants to merge 2 commits into
curl:masterfrom
vszakats:fix-bundle-detection

Conversation

@vszakats

@vszakats vszakats commented Mar 19, 2025 •

Copy link
Copy Markdown
Member

@vszakats vszakats closed this in 99f78cb Mar 19, 2025
@vszakats
vszakats deleted the fix-bundle-detection branch March 19, 2025 22:44
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
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
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.

1 participant