aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am5
-rw-r--r--tests/test-approver.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c012b96..cef1eda 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -7,6 +7,8 @@ DISTCLEANFILES = $(TESTS)
EXTRA_DIST = run-xvfb.sh
+DBUS_RUNNER=dbus-test-runner --dbus-config /usr/share/dbus-test-runner/session.conf
+
#########################################
## test-approver
#########################################
@@ -23,8 +25,7 @@ test_approver_CFLAGS = \
test_approver_LDADD = \
$(INDICATOR_LIBS) \
- $(TEST_LIBS) \
- $(top_builddir)/src/libappindicator.la
+ $(TEST_LIBS)
test-approver-tester: test-approver Makefile.am
@echo "#!/bin/bash" > $@
diff --git a/tests/test-approver.c b/tests/test-approver.c
index 2665505..adad4a7 100644
--- a/tests/test-approver.c
+++ b/tests/test-approver.c
@@ -5,7 +5,7 @@
#include "notification-watcher-client.h"
#include "dbus-shared.h"
-#include "app-indicator.h"
+#include "libappindicator/app-indicator.h"
#define APPROVER_PATH "/my/approver"