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

Consider CMP0110 add_test() policy #2057

Merged
merged 1 commit into from
Oct 20, 2020

Conversation

NeroBurner
Copy link
Contributor

@NeroBurner NeroBurner commented Oct 20, 2020

Description

CMake 3.19 introduces new add_test() behavior guarded with the policy
CMP0110.

See: https://cmake.org/cmake/help/latest/policy/CMP0110.html

Update the helper script ParseAndAddCatchTests to consider the policy and
handle the test case name accordingly.

GitHub Issues

Related issue (CMake 3.18.0): #1984

CMake 3.19 introduces new add_test() behavior guarded with the policy
CMP0110.

See: https://cmake.org/cmake/help/latest/policy/CMP0110.html

Update the helper script ParseAndAddCatchTests to consider the policy and
handle the test case name accordingly.
@NeroBurner NeroBurner force-pushed the consider_cmp0110_policy branch from fc54a98 to aa97163 Compare October 20, 2020 07:20
@codecov
Copy link

codecov bot commented Oct 20, 2020

Codecov Report

Merging #2057 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2057   +/-   ##
=======================================
  Coverage   88.75%   88.75%           
=======================================
  Files         138      138           
  Lines        5651     5651           
=======================================
  Hits         5015     5015           
  Misses        636      636           

@horenmar horenmar added the Extras Touches utility scripts outside of Catch2 proper, e.g. CMake integration. label Oct 20, 2020
@horenmar
Copy link
Member

That looks good, thanks.

@horenmar horenmar merged commit ee7f5ee into catchorg:master Oct 20, 2020
@NeroBurner NeroBurner deleted the consider_cmp0110_policy branch October 20, 2020 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Extras Touches utility scripts outside of Catch2 proper, e.g. CMake integration.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants