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

Support template test cases in ParseAndAddCatchTests #2031

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

agserm
Copy link
Contributor

@agserm agserm commented Sep 23, 2020

Description

GitHub Issues

* Change regex to allow parentheses inside the test macro for a type list
* Append a wildcard to the CTestName if the test case is a template
* Also change the regular expression so parentheses are allowed in names
  (fixes catchorg#1848)
@codecov
Copy link

codecov bot commented Sep 23, 2020

Codecov Report

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

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

@horenmar
Copy link
Member

Also change the regular expression so parentheses are allowed in names

I am going to take you on your word with that, because that regex is too much.

Anyway, thanks.

@horenmar horenmar merged commit 3e8800b into catchorg:master Sep 24, 2020
@horenmar horenmar added the Extras Touches utility scripts outside of Catch2 proper, e.g. CMake integration. label Sep 24, 2020
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.

ParseAndAddCatchTests.cmake silently ignores test that contains right parenthesis
2 participants