Skip to content

tests: separate tunit tests from unit tests more #17259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed

Conversation

bagder
Copy link
Member

@bagder bagder commented May 6, 2025

  • tunit tests need no unittest libcurl version
  • unit tests need no tool code
  • unit test 1621 is now tunit test 1621 instead
  • build unit tests with BUILDING_LIBCURL as they pretent to be libcurl

- tunit tests need no unittest libcurl version
- unit tests need no tool code
- unit test 1621 is now tunit test 1621 instead
- build unit tests with BUILDING_LIBCURL as they pretent to be libcurl
@bagder bagder added the tests label May 6, 2025
@bagder bagder marked this pull request as ready for review May 6, 2025 15:23
@bagder bagder closed this in 220eda3 May 6, 2025
@bagder bagder deleted the bagder/tunit-sep branch May 6, 2025 15:26
vszakats added a commit to vszakats/curl that referenced this pull request May 6, 2025
To avoid adding this macro to the global `CURL_DEBUG_MACROS` variable,
which may be used for targets defined after unit tests, and where this
macro may not be necessary.

At the moment unit tests are defined last, so this did not cause any
issue.

Follow-up to 220eda3 curl#17259
vszakats added a commit that referenced this pull request May 7, 2025
To avoid adding this macro to the global `CURL_DEBUG_MACROS` variable,
which may be used for targets defined after unit tests, and where this
macro may not be necessary.

As of this commit unit tests are defined last, so extending the global
variable did not cause any issue.

Follow-up to 220eda3 #17259

Closes #17264
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