aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-07-01 00:37:31 -0500
committerTed Gould <ted@canonical.com>2009-07-01 00:37:31 -0500
commit0d5d7644f8cf19aa014ad808ffc3e0bea4cfb1b2 (patch)
treed22954141241a628741150fb5042c61a35c8dd2c /tests/Makefile.am
parent1a94d17ec25cce99c191adc5a0d99b92c62df34a (diff)
parente8393a9d2fd78c79f50ab003de728665f74d4e5e (diff)
downloadlibdbusmenu-0d5d7644f8cf19aa014ad808ffc3e0bea4cfb1b2.tar.gz
libdbusmenu-0d5d7644f8cf19aa014ad808ffc3e0bea4cfb1b2.tar.bz2
libdbusmenu-0d5d7644f8cf19aa014ad808ffc3e0bea4cfb1b2.zip
Fixing a prototype mismatch with the new newitems signal
also including the position.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am16
1 files changed, 14 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 452f4f6..8c47a93 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,7 +4,7 @@ check: tests
DBUS_RUNNER=dbus-test-runner --dbus-config /usr/share/dbus-test-runner/session.conf
-tests: test-glib-layout test-glib-properties test-gtk-label
+tests: test-glib-layout test-glib-properties test-gtk-label test-glib-simple-items
libexec_PROGRAMS = \
glib-server-nomenu \
@@ -13,7 +13,8 @@ libexec_PROGRAMS = \
test-glib-properties-client \
test-glib-properties-server \
test-gtk-label-client \
- test-gtk-label-server
+ test-gtk-label-server \
+ test-glib-simple-items
glib_server_nomenu_SOURCES = \
glib-server-nomenu.c
@@ -85,6 +86,17 @@ test_glib_properties_client_LDADD = \
$(DBUSMENUGLIB_LIBS)
+test_glib_simple_items_SOURCES = \
+ test-glib-simple-items.c
+
+test_glib_simple_items_CFLAGS = \
+ -I $(srcdir)/.. \
+ $(DBUSMENUGLIB_CFLAGS) -Wall -Werror
+
+test_glib_simple_items_LDADD = \
+ ../libdbusmenu-glib/libdbusmenu-glib.la \
+ $(DBUSMENUGLIB_LIBS)
+
test-gtk-label: test-gtk-label-client test-gtk-label-server test-gtk-label.json
$(DBUS_RUNNER) --task ./test-gtk-label-client --task-name Client --task ./test-gtk-label-server --parameter $(srcdir)/test-gtk-label.json --task-name Server --ignore-return