aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-02-18 18:18:30 +0100
committerSebastien Bacher <seb128@ubuntu.com>2010-02-18 18:18:30 +0100
commit0af5090188b1002d4cbca3e8a60b701153a8b391 (patch)
tree18ee6d3f99611b8cc84327c338525df62ee5d2d2 /tests/Makefile.am
parentaadfece2677f23d685f050ec479aaee93c6ababc (diff)
parent4ee1fccc17c4734c356ee528dd3a0665f5e296f0 (diff)
downloadlibdbusmenu-0af5090188b1002d4cbca3e8a60b701153a8b391.tar.gz
libdbusmenu-0af5090188b1002d4cbca3e8a60b701153a8b391.tar.bz2
libdbusmenu-0af5090188b1002d4cbca3e8a60b701153a8b391.zip
releasing version 0.2.5-0ubuntu1
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am54
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 746ac23..cfa1399 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -5,6 +5,7 @@ TESTS = \
test-glib-objects-test \
test-glib-layout \
test-glib-properties \
+ test-glib-proxy \
test-glib-simple-items \
test-gtk-label \
test-gtk-reorder
@@ -16,6 +17,9 @@ check_PROGRAMS = \
test-glib-layout-server \
test-glib-properties-client \
test-glib-properties-server \
+ test-glib-proxy-client \
+ test-glib-proxy-server \
+ test-glib-proxy-proxy \
test-gtk-label-client \
test-gtk-label-server \
test-glib-simple-items \
@@ -127,6 +131,56 @@ test_glib_properties_client_LDADD = \
../libdbusmenu-glib/libdbusmenu-glib.la \
$(DBUSMENUGLIB_LIBS)
+######################
+# Test Glib Proxy
+######################
+
+test-glib-proxy: test-glib-proxy-client test-glib-proxy-server test-glib-proxy-proxy Makefile.am
+ @echo "#!/bin/bash" > $@
+ @echo $(DBUS_RUNNER) --task ./test-glib-proxy-client --task-name Client --task ./test-glib-proxy-server --task-name Server --ignore-return \\ >> $@
+ @echo --task ./test-glib-proxy-proxy --parameter test.proxy.first_proxy --parameter test.proxy.second_proxy --task-name Proxy01 --ignore-return \\ >> $@
+ @echo --task ./test-glib-proxy-proxy --parameter test.proxy.second_proxy --parameter test.proxy.third_proxy --task-name Proxy02 --ignore-return \\ >> $@
+ @echo --task ./test-glib-proxy-proxy --parameter test.proxy.third_proxy --parameter test.proxy.fourth_proxy --task-name Proxy03 --ignore-return \\ >> $@
+ @echo --task ./test-glib-proxy-proxy --parameter test.proxy.fourth_proxy --parameter test.proxy.last_proxy --task-name Proxy04 --ignore-return \\ >> $@
+ @echo --task ./test-glib-proxy-proxy --parameter test.proxy.last_proxy --parameter test.proxy.server --task-name Proxy05 --ignore-return >> $@
+ @chmod +x $@
+
+test_glib_proxy_server_SOURCES = \
+ test-glib-proxy.h \
+ test-glib-proxy-server.c
+
+test_glib_proxy_server_CFLAGS = \
+ -I $(srcdir)/.. \
+ $(DBUSMENUGLIB_CFLAGS) -Wall -Werror
+
+test_glib_proxy_server_LDADD = \
+ ../libdbusmenu-glib/libdbusmenu-glib.la \
+ $(DBUSMENUGLIB_LIBS)
+
+test_glib_proxy_client_SOURCES = \
+ test-glib-proxy.h \
+ test-glib-proxy-client.c
+
+test_glib_proxy_client_CFLAGS = \
+ -I $(srcdir)/.. \
+ $(DBUSMENUGLIB_CFLAGS) -Wall -Werror
+
+test_glib_proxy_client_LDADD = \
+ ../libdbusmenu-glib/libdbusmenu-glib.la \
+ $(DBUSMENUGLIB_LIBS)
+
+test_glib_proxy_proxy_SOURCES = \
+ test-glib-proxy.h \
+ test-glib-proxy-proxy.c
+
+test_glib_proxy_proxy_CFLAGS = \
+ -I $(srcdir)/.. \
+ $(DBUSMENUGLIB_CFLAGS) -Wall -Werror
+
+test_glib_proxy_proxy_LDADD = \
+ ../libdbusmenu-glib/libdbusmenu-glib.la \
+ $(DBUSMENUGLIB_LIBS)
+
#########################
# Test Glib Simple Items
#########################