aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-22 09:20:36 -0500
committerTed Gould <ted@canonical.com>2009-10-22 09:20:36 -0500
commitbca9b7ee96632e7c89092184c174b45722e0511c (patch)
treefaa775021c1cb04d8c255c60fc9f95501b9ee150 /tests/Makefile.am
parent0df50d723494e795aa7447c02ac0f15611b2bfd8 (diff)
downloadayatana-indicator-application-bca9b7ee96632e7c89092184c174b45722e0511c.tar.gz
ayatana-indicator-application-bca9b7ee96632e7c89092184c174b45722e0511c.tar.bz2
ayatana-indicator-application-bca9b7ee96632e7c89092184c174b45722e0511c.zip
Adding in two little client server binaries for testing the custom indicator.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am46
1 files changed, 45 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 865573b..8327a79 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,6 +1,12 @@
check_PROGRAMS = \
- test-libcustomindicator
+ test-libcustomindicator \
+ test-libcustomindicator-dbus-client \
+ test-libcustomindicator-dbus-server
+
+#########################################
+## test-libcustomindicator
+#########################################
test_libcustomindicator_SOURCES = \
test-libcustomindicator.c
@@ -14,6 +20,44 @@ test_libcustomindicator_LDADD = \
$(INDICATOR_LIBS) \
$(top_builddir)/src/libcustomindicator.la
+#########################################
+## test-libcustomindicator-dbus-client
+#########################################
+
+test_libcustomindicator_dbus_client_SOURCES = \
+ test-defines.h \
+ test-libcustomindicator-dbus-client.c
+
+test_libcustomindicator_dbus_client_CFLAGS = \
+ $(INDICATOR_CFLAGS) \
+ -Wall -Werror \
+ -I$(top_srcdir)/src
+
+test_libcustomindicator_dbus_client_LDADD = \
+ $(INDICATOR_LIBS) \
+ $(top_builddir)/src/libcustomindicator.la
+
+#########################################
+## test-libcustomindicator-dbus-server
+#########################################
+
+test_libcustomindicator_dbus_server_SOURCES = \
+ test-defines.h \
+ test-libcustomindicator-dbus-server.c
+
+test_libcustomindicator_dbus_server_CFLAGS = \
+ $(INDICATOR_CFLAGS) \
+ -Wall -Werror \
+ -I$(top_srcdir)/src
+
+test_libcustomindicator_dbus_server_LDADD = \
+ $(INDICATOR_LIBS) \
+ $(top_builddir)/src/libcustomindicator.la
+
+#########################################
+## Actual tests
+#########################################
+
XML_REPORT = libcustomindicator-check-results.xml
HTML_REPORT = libcustomindicator-check-results.html