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

fixed inconsistent semicolon expansion in catch_discover_tests (Bug #2214) #2216

Conversation

georg-emg
Copy link
Contributor

Description

Changed the parameter parsing in the function add_command in CatchAddTests.cmake so that parameters that contain semicolons are not split into several arguments in the generated *_tests.cmake file. This fixes broken tests for targets whose cross-compiling generators contain arguments with escaped semicolons.

GitHub Issues

Closes #2214

@codecov
Copy link

codecov bot commented Apr 14, 2021

Codecov Report

Merging #2216 (de434fa) into v2.x (42e368d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             v2.x    #2216   +/-   ##
=======================================
  Coverage   88.78%   88.78%           
=======================================
  Files         139      139           
  Lines        5705     5705           
=======================================
  Hits         5065     5065           
  Misses        640      640           

@horenmar horenmar added the Extras Touches utility scripts outside of Catch2 proper, e.g. CMake integration. label Apr 16, 2021
@horenmar horenmar merged commit 86a4d70 into catchorg:v2.x Apr 16, 2021
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.

None yet

2 participants