aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-12-02 16:56:23 -0600
committerTed Gould <ted@gould.cx>2010-12-02 16:56:23 -0600
commit6456a3f6beacbfbf4866ebfcc60bb95cb17fe71c (patch)
tree1f94382a56587feb8e661aec1f8a5ae6277e8f70
parent1a1a2e332070a389f840fd6c5ed6b5b8ffbf00fa (diff)
downloadayatana-indicator-application-6456a3f6beacbfbf4866ebfcc60bb95cb17fe71c.tar.gz
ayatana-indicator-application-6456a3f6beacbfbf4866ebfcc60bb95cb17fe71c.tar.bz2
ayatana-indicator-application-6456a3f6beacbfbf4866ebfcc60bb95cb17fe71c.zip
Fixing up the test so it builds and runs
-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"