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

CTest integration script enhancements #911

Merged
merged 3 commits into from
May 27, 2017
Merged

Conversation

dvirtz
Copy link
Contributor

@dvirtz dvirtz commented May 18, 2017

Description

Made some improvements to ParseAndAddCatchTests.cmake script:

  • use absolute path to test files - accroding to CMake docs EXISTS behavior is well-defined only for full paths
  • added option to print debug messages
  • added target name to test name and labels - to differentiate tests with similar names from different targets and to be able to run all tests coming from one target.

@horenmar
Copy link
Member

I wonder why using relative paths is not well defined for EXISTS (I mean its obvious why they could bug out horribly, not why it is not well defined).

Anyway, the changes look good.

@horenmar horenmar merged commit 1c59034 into catchorg:master May 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants