lp:~compiz-team/compiz/compiz.compiz_discover_tests
- Get this branch:
- bzr branch lp:~compiz-team/compiz/compiz.compiz_discover_tests
Branch merges
- Daniel van Vugt: Approve
-
Diff: 427 lines (+163/-33)29 files modifiedcmake/CMakeLists.txt (+9/-0)
cmake/CompizCommon.cmake (+15/-0)
cmake/src/CMakeLists.txt (+1/-0)
cmake/src/compiz/CMakeLists.txt (+6/-0)
cmake/src/compiz/compiz_discover_gtest_tests.cpp (+99/-0)
compizconfig/libcompizconfig/tests/CMakeLists.txt (+4/-4)
plugins/composite/src/pixmapbinding/tests/CMakeLists.txt (+1/-1)
plugins/decor/src/clip-groups/tests/CMakeLists.txt (+1/-1)
plugins/decor/src/pixmap-requests/tests/CMakeLists.txt (+1/-1)
plugins/grid/src/grabhandler/tests/CMakeLists.txt (+1/-1)
plugins/place/src/constrain-to-workarea/tests/CMakeLists.txt (+1/-1)
plugins/place/src/screen-size-change/tests/CMakeLists.txt (+1/-1)
plugins/place/src/smart/tests/CMakeLists.txt (+1/-1)
plugins/wall/src/offset_movement/tests/CMakeLists.txt (+1/-1)
src/option/tests/CMakeLists.txt (+1/-1)
src/plugin/tests/CMakeLists.txt (+1/-1)
src/pluginclasshandler/tests/CMakeLists.txt (+3/-3)
src/point/tests/CMakeLists.txt (+1/-1)
src/privatescreen/tests/CMakeLists.txt (+1/-1)
src/rect/tests/CMakeLists.txt (+2/-2)
src/region/tests/CMakeLists.txt (+1/-1)
src/servergrab/tests/CMakeLists.txt (+1/-1)
src/string/tests/CMakeLists.txt (+1/-1)
src/timer/tests/CMakeLists.txt (+4/-4)
src/window/constrainment/tests/CMakeLists.txt (+1/-1)
src/window/extents/tests/CMakeLists.txt (+1/-1)
src/window/geometry-saver/tests/CMakeLists.txt (+1/-1)
src/window/geometry/tests/CMakeLists.txt (+1/-1)
src/wrapsystem/tests/CMakeLists.txt (+1/-1)
Branch information
Recent revisions
- 3272. By Sam Spilsbury
-
Added compiz_
discover_ tests. gtest_add_tests is good for the basic Google Test usage, but its source
based scanning falls short in a couple of areas - namely it requires that
there be no space between TEST* and ( and it also does not work for templated
tests.compiz_
discover_ tests builds a small C++ program to parse the output
of --gtest_list_tests and adds those at make-time to the CTestTestfile.cmake
in the current binary directory. This allows us to correctly introspect the test
binary and get /all/ the tests regardless of the source file. - 3271. By Sam Spilsbury
-
Added a new CMake function compiz_
discover_ tests which attaches itself
to a test file and runs --gtest_list_tests on it after it is built to
introspect the test binary and get a list of all available tests to be
run by CTest later.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:compiz/0.9.8