aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am4
-rw-r--r--tests/test-service.cc1
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c117c95..579f502 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -15,8 +15,8 @@ include $(srcdir)/Makefile.am.strings
check_LIBRARIES = libgtest.a
nodist_libgtest_a_SOURCES = \
- $(GTEST_SOURCE)/src/gtest-all.cc \
- $(GTEST_SOURCE)/src/gtest_main.cc
+ $(GTEST_SOURCE)/gtest-all.cc \
+ $(GTEST_SOURCE)/gtest_main.cc
AM_CPPFLAGS = $(GTEST_CPPFLAGS) -I${top_srcdir}/src -Wall -Werror
AM_CXXFLAGS = $(GTEST_CXXFLAGS)
diff --git a/tests/test-service.cc b/tests/test-service.cc
index 4d540d6..b1ca5bc 100644
--- a/tests/test-service.cc
+++ b/tests/test-service.cc
@@ -49,7 +49,6 @@ class ClientTest : public ::testing::Test
static bool first_run = true;
if (first_run)
{
- g_type_init();
g_setenv ("INDICATOR_SERVICE_SHUTDOWN_TIMEOUT", "1000", TRUE);
g_unsetenv ("INDICATOR_ALLOW_NO_WATCHERS");
g_unsetenv ("INDICATOR_SERVICE_REPLACE_MODE");