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

Consider using CTest to register and run the test suite #8

Closed
ghisvail opened this issue Jul 24, 2015 · 4 comments
Closed

Consider using CTest to register and run the test suite #8

ghisvail opened this issue Jul 24, 2015 · 4 comments

Comments

@ghisvail
Copy link
Contributor

You might want to register all test executables with add_test so that a build with -DBUILD_TESTING=ON allows automatic running of the test suite.

More info:
http://www.cmake.org/cmake/help/v3.0/command/add_test.html

@AvtechScientific
Copy link
Owner

Yes, we planed to enable it in the next release.

@ghisvail
Copy link
Contributor Author

This will be required for the Debian packaging.

@AvtechScientific
Copy link
Owner

Ok, We'll try to do this next week. Hopefully there will be no other showstoppers.

@AvtechScientific
Copy link
Owner

Done:
Input/Output tests are labled "IO" and may require input files
Performance tests are labled "Performance"
Run them: ctest [-C Release|Debug] -L Performance
Exclude them: ctest [-C Release|Debug] -LE Performance

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

No branches or pull requests

2 participants