aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-17 14:28:37 -0600
committerTed Gould <ted@gould.cx>2010-02-17 14:28:37 -0600
commitc0748d6ec731dd186c16f11045f66b692e5b4d6b (patch)
treefd11b2c39f3257920a1a5befbfab72a21d692edb /tests/Makefile.am
parent74052e601e19a2ce169ddd8529874f85497c909c (diff)
parent8021b8e5434ecc2d76495c1d3e52cc9a0691852a (diff)
downloadlibdbusmenu-c0748d6ec731dd186c16f11045f66b692e5b4d6b.tar.gz
libdbusmenu-c0748d6ec731dd186c16f11045f66b692e5b4d6b.tar.bz2
libdbusmenu-c0748d6ec731dd186c16f11045f66b692e5b4d6b.zip
* Upstream Merge
* Adding in menuitem proxy object.
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
#########################