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

Added CommonPythonTest.cmake to add Python tests to a project. #506

Merged
merged 1 commit into from
Aug 26, 2016

Conversation

hernando
Copy link

This script works in a similar way to CommonCPPCTest

@hernando
Copy link
Author

@tribal-tec please review

#
# Creates a per project pythontests target.
# This target creates a test for each .py file in the current
# directory tree. The per project targett is included into the global
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo targett

@tribal-tec
Copy link
Member

+1 otherwise

@hernando
Copy link
Author

I've realized that this code doesn't handle changes in the test source files. To fix that it seems it's better to refactor the whole code.
The EXCLUDE_FROM_TEST variable was not consider either.

This script works in a similar way to CommonCPPCTest
@hernando
Copy link
Author

All fixed.

@tribal-tec tribal-tec merged commit 8c248b9 into Eyescale:master Aug 26, 2016
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