aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-22 14:36:47 -0600
committerTed Gould <ted@gould.cx>2009-12-22 14:36:47 -0600
commit39cb6247d5a749ce102542adc8a30b73221fb686 (patch)
tree90a99cbd9adb181f2102d6ef7c47d2d7744e958a /tests/Makefile.am
parentba3999565f0bbc19df01111a1f6dd4108f323aae (diff)
parente8b9e2835c71ab60df2fd67b4d78b8d08224a975 (diff)
downloadlibdbusmenu-39cb6247d5a749ce102542adc8a30b73221fb686.tar.gz
libdbusmenu-39cb6247d5a749ce102542adc8a30b73221fb686.tar.bz2
libdbusmenu-39cb6247d5a749ce102542adc8a30b73221fb686.zip
Fix signal prototype and how the hashtable is handled. Added tests.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1d58700..fa18b9d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -2,6 +2,7 @@
DBUS_RUNNER=dbus-test-runner
TESTS = \
+ test-glib-objects-test \
test-glib-layout \
test-glib-properties \
test-glib-simple-items \
@@ -10,6 +11,7 @@ TESTS = \
check_PROGRAMS = \
glib-server-nomenu \
+ test-glib-objects \
test-glib-layout-client \
test-glib-layout-server \
test-glib-properties-client \
@@ -71,6 +73,28 @@ test_glib_layout_client_LDADD = \
######################
+# Test Glib Object
+######################
+
+OBJECT_XML_REPORT = test-glib-objects.xml
+
+test-glib-objects-test: test-glib-objects Makefile.am
+ @echo "#!/bin/bash" > $@
+ @echo $(DBUS_RUNNER) -b $@.bustle --task gtester --parameter -k --parameter -o --parameter $(OBJECT_XML_REPORT) --parameter ./test-glib-objects >> $@
+ @chmod +x $@
+
+test_glib_objects_SOURCES = \
+ test-glib-objects.c
+
+test_glib_objects_CFLAGS = \
+ -I $(srcdir)/.. \
+ $(DBUSMENUGLIB_CFLAGS) -Wall -Werror
+
+test_glib_objects_LDADD = \
+ ../libdbusmenu-glib/libdbusmenu-glib.la \
+ $(DBUSMENUGLIB_LIBS)
+
+######################
# Test Glib Properties
######################
@@ -239,6 +263,8 @@ distclean-local:
DISTCLEANFILES = \
$(TESTS) \
+ $(OBJECT_XML_FILE) \
+ test-glib-objects-test.bustle \
test-glib-layout.bustle \
test-glib-properties.bustle \
test-glib-simple-items.bustle \