diff options
-rw-r--r-- | tests/CMakeLists.txt | 3 | ||||
-rw-r--r-- | tests/indicator-test.cc | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1eec3fd..58ecd3a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -185,6 +185,9 @@ add_test(greeter-list-test-iterator # Indicator Test ########################### +add_definitions( + -DINDICATOR_SOUND_SERVICE_BINARY="${CMAKE_BINARY_DIR}/src/indicator-sound-service" +) add_executable (indicator-test indicator-test.cc) target_link_libraries ( indicator-test diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc index 52b131d..9ebb121 100644 --- a/tests/indicator-test.cc +++ b/tests/indicator-test.cc @@ -26,7 +26,7 @@ class IndicatorTest : public IndicatorFixture { protected: IndicatorTest (void) : - IndicatorFixture("/test", "com.test") + IndicatorFixture(INDICATOR_SOUND_SERVICE_BINARY, "com.canonical.indicator.sound") { } |