Skip to content

cmake: re-add simple test target, and name it tests#18145

Closed
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:cm-simple-test-target
Closed

cmake: re-add simple test target, and name it tests#18145
vszakats wants to merge 2 commits intocurl:masterfrom
vszakats:cm-simple-test-target

Conversation

@vszakats
Copy link
Copy Markdown
Member

@vszakats vszakats commented Aug 2, 2025

Before this patch there was no (easy) way to run tests without various
verbose options, hindering readability of the output due its length.

Unfortunately CMake reserves test as a target name, which was
the reason for its removal earlier. Re-add it with the name tests,
to have the functionality without the name collision.

Also add a tests target as an alias to test for autotools.

Ref: https://cmake.org/cmake/help/v4.1/policy/CMP0037.html
Follow-up to cfea4f2 #6258

@vszakats vszakats closed this in 51bc836 Aug 2, 2025
@vszakats vszakats deleted the cm-simple-test-target branch August 2, 2025 13:04
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