[Commotion-admin] [commotiond] Better integration between CTest and GTest (#101)

Josh King notifications at github.com
Wed Apr 23 14:35:28 EDT 2014


This pull request implements better integration between CMake's built-in CTest framework and the GoogleTests we use for unit testing. Previously all GTests were run as a single CTest under 'make test', but now they are split out individually for more useful output. Additionally, unit tests are now run by default as part of the build process.

To test:
1. Create a clean build. You should see the unit tests as part of the build process output.
2. Run 'make test.' You should see several individual tests run instead of just one test.
You can merge this Pull Request by running:

  git pull https://github.com/opentechinstitute/commotiond cmaketests

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/commotiond/pull/101

-- Commit Summary --

  * Modify CMake configuration for unit tests for better CTest integration, running of GTest as part of default build.

-- File Changes --

    M tests/CMakeLists.txt (16)

-- Patch Links --

https://github.com/opentechinstitute/commotiond/pull/101.patch
https://github.com/opentechinstitute/commotiond/pull/101.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotiond/pull/101
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140423/55535cd5/attachment.html>


More information about the Commotion-admin mailing list