lp:~compiz-team/compiz/compiz.compiz_discover_tests

Created by Sam Spilsbury and last modified
Get this branch:
bzr branch lp:~compiz-team/compiz/compiz.compiz_discover_tests
Members of Compiz Maintainers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Compiz Maintainers
Project:
Compiz
Status:
Merged

Recent revisions

3278. By Sam Spilsbury

Format the "" correctly so that the tests actually run

3277. By Sam Spilsbury

Remove the wrappers. They are not necessary like I originally thought

3276. By Sam Spilsbury

Do not install src/compiz for a while until we've polished it up

3275. By Sam Spilsbury

using namespace std

3274. By Sam Spilsbury

Add a newline in the test file

3273. By Sam Spilsbury

Don't include compiz_discover_gtest_tests.cpp inline anymore

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.

3270. By Sam Spilsbury

Remove TODO . It was very very outdated.. Fixes: . Approved by .

3269. By Sam Spilsbury

Fix the build with boost 1.49 due to a #define conflict

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
This branch contains Public information 
Everyone can see this information.