Skip to content
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

Hack to build most unit tests under cmake #10722

Closed
wants to merge 4 commits into from
Closed

Conversation

dfandrich
Copy link
Contributor

The results should be visible in the Appveyor Debug Static builds

Put only the test names into Makefile.inc so they can be used by both
cmake and automake. This will prevent the list of tests from becoming
out of date when they are also built under cmake.
@github-actions github-actions bot added the tests label Mar 9, 2023
There's no need to specify them individually.
dfandrich added a commit that referenced this pull request Mar 9, 2023
These are only built when a libcurl static library is available, since
we're not building a special libcurlu library yet and these tests rely
on private symbols that aren't available in the shared library. A few
unit tests do require libcurlu, so those are not built.

Closes #10722
dfandrich added a commit that referenced this pull request Mar 9, 2023
These are only built when a libcurl static library is available, since
we're not building a special libcurlu library yet and these tests rely
on private symbols that aren't available in the shared library. A few
unit tests do require libcurlu, so those are not built.

Closes #10722
Switch unit1654 to use the proper test macros as well.
These are only built when a libcurl static library is available, since
we're not building a special libcurlu library yet and these tests rely
on private symbols that aren't available in the shared library. A few
unit tests do require libcurlu, so those are not built.

Closes #10722
@dfandrich dfandrich closed this in 13b4d05 Mar 12, 2023
@dfandrich dfandrich deleted the dfandrich/unitcmake branch March 12, 2023 03:01
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
These are only built when a libcurl static library is available, since
we're not building a special libcurlu library yet and these tests rely
on private symbols that aren't available in the shared library. A few
unit tests do require libcurlu, so those are not built.

Closes curl#10722
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.

None yet

1 participant