aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test-service.cc2
3 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 3bac232..de54ff4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,7 +190,7 @@ if test "x$enable_tests" != "xno"; then
AC_MSG_ERROR([tests were requested but gtest is not installed.])
fi
if test "x$enable_tests" = "xyes"; then
- PKG_CHECK_MODULES([TEST_SERVICE],[indicator-0.4 >= $INDICATOR_REQUIRED_VERSION
+ PKG_CHECK_MODULES([TEST_SERVICE],[indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
dbustest-1 >= $DBUSTEST_REQUIRED_VERSION
dbusmenu-glib-0.4 >= $DBUSMENUGLIB_REQUIRED_VERSION])
fi
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5eca08a..0d30bba 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -10,7 +10,7 @@ AM_CXXFLAGS = $(GTEST_CXXFLAGS)
TESTS = test-service
check_PROGRAMS = test-service
test_service_SOURCES = test-service.cc
-test_service_LDADD = $(TEST_SERVICE_LIBS) libgtest.a
+test_service_LDADD = $(TEST_SERVICE_LIBS) libgtest.a $(XORG_GTEST_MAIN_LIBS) $(X11_LIBS)
test_service_CPPFLAGS = \
$(TEST_SERVICE_CFLAGS) \
$(AM_CPPFLAGS) \
diff --git a/tests/test-service.cc b/tests/test-service.cc
index cb10070..d163db5 100644
--- a/tests/test-service.cc
+++ b/tests/test-service.cc
@@ -25,8 +25,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
****
***/
-static const char * the_executable = NULL;
-
/**
* Fixture class for testing indicator-session-service with Google Test.
*/