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

Fix CTest command issue with square brackets #1698

Merged
merged 1 commit into from Jul 22, 2019

Conversation

sfranzen
Copy link
Contributor

Description

The issue was that square brackets are in principle legal in the name of a test case, but CatchAddTests was passing them directly to the test executable, which interprets them as a tag. It now escapes these brackets along with commas in test case names.

GitHub Issues

Fixes #1634.

@codecov
Copy link

codecov bot commented Jul 21, 2019

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1698   +/-   ##
=======================================
  Coverage   86.18%   86.18%           
=======================================
  Files         136      136           
  Lines        5180     5180           
=======================================
  Hits         4464     4464           
  Misses        716      716

1 similar comment
@codecov
Copy link

codecov bot commented Jul 21, 2019

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1698   +/-   ##
=======================================
  Coverage   86.18%   86.18%           
=======================================
  Files         136      136           
  Lines        5180     5180           
=======================================
  Hits         4464     4464           
  Misses        716      716

@horenmar horenmar added BugFix Extras Touches utility scripts outside of Catch2 proper, e.g. CMake integration. labels Jul 22, 2019
@horenmar
Copy link
Member

Thanks.

@horenmar horenmar merged commit 62b3f6c into catchorg:master Jul 22, 2019
@sfranzen sfranzen deleted the fix-#1634 branch July 24, 2019 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BugFix 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.

Square brackets in test case name prevent ctest from running the test
2 participants