From 6456a3f6beacbfbf4866ebfcc60bb95cb17fe71c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 2 Dec 2010 16:56:23 -0600 Subject: Fixing up the test so it builds and runs --- tests/Makefile.am | 5 +++-- tests/test-approver.c | 2 +- 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" -- cgit v1.2.3