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) #2215

Merged

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

@georg-emg
Copy link
Contributor Author

Could it be that the clang-8 build environment is broken? The build checks say they cannot find clang++-8. Or am I doing something wrong?

@codecov
Copy link

codecov bot commented Apr 14, 2021

Codecov Report

Merging #2215 (891660c) into devel (e8cdfdc) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            devel    #2215   +/-   ##
=======================================
  Coverage   90.06%   90.06%           
=======================================
  Files         146      146           
  Lines        7103     7103           
=======================================
  Hits         6397     6397           
  Misses        706      706           

@horenmar
Copy link
Member

Yeah, GitHub actions recently changed the base linux image, and I haven't had time to fix it up yet. Given that contrib is currently not tested, there is no way for the failures to be result of your PR.

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

inconsistent semicolon expansion in catch_discover_tests
2 participants