aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRodney Dawes <rodney.dawes@canonical.com>2017-02-08 04:37:24 +0000
committerBileto Bot <ci-train-bot@canonical.com>2017-02-08 04:37:24 +0000
commit7d52a7a008b0281f702d236cbc74f180328a9114 (patch)
tree5b0d10c6736e47674c53e2e2b9d9791fb7d3081a /tests
parent396d3bebd994f204f0052f015360009d3bd1493f (diff)
parent47be95adcf9600979cbe0b3bb3269a6b9041efb2 (diff)
downloadayatana-indicator-sound-7d52a7a008b0281f702d236cbc74f180328a9114.tar.gz
ayatana-indicator-sound-7d52a7a008b0281f702d236cbc74f180328a9114.tar.bz2
ayatana-indicator-sound-7d52a7a008b0281f702d236cbc74f180328a9114.zip
Use coverage support from cmake-extras.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt14
-rw-r--r--tests/integration/CMakeLists.txt7
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 610ed9b..fb9d4b9 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -284,3 +284,17 @@ add_test(indcator-test
add_subdirectory(integration)
add_subdirectory(dbus-types)
add_subdirectory(service-mocks)
+
+# coverage reporting
+set(COVERAGE_TEST_TARGETS
+ ${COVERAGE_TEST_TARGETS}
+ name-watch-test
+ accounts-service-user-test
+ volume-control-test
+ sound-menu-test
+ notifications-test
+ media-player-user-test
+ greeter-list-test
+ indicator-test
+ PARENT_SCOPE
+)
diff --git a/tests/integration/CMakeLists.txt b/tests/integration/CMakeLists.txt
index e05db4d..e021d87 100644
--- a/tests/integration/CMakeLists.txt
+++ b/tests/integration/CMakeLists.txt
@@ -126,3 +126,10 @@ target_link_libraries(
)
#add_subdirectory(utils)
+
+# coverage reporting
+set(COVERAGE_TEST_TARGETS
+ ${COVERAGE_TEST_TARGETS}
+ integration-tests
+ PARENT_SCOPE
+)