aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2009-12-21 16:17:02 -0600
committerTed Gould <ted@gould.cx>2009-12-21 16:17:02 -0600
commit48b791062e98e7a38178656593d57d4ad2d03769 (patch)
tree6e0178c95e5ee0573f236c8a7534f7495dbdc517 /tests/Makefile.am
parentac0fbaf02100ff196bef3d97db162a4f01d58d58 (diff)
parent7d0dbc3dd6be6ffaeca675b460767e20e505841e (diff)
downloadlibdbusmenu-48b791062e98e7a38178656593d57d4ad2d03769.tar.gz
libdbusmenu-48b791062e98e7a38178656593d57d4ad2d03769.tar.bz2
libdbusmenu-48b791062e98e7a38178656593d57d4ad2d03769.zip
Using a hash table replace
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 \