aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-09-09 11:26:59 -0400
committerKen VanDine <ken.vandine@canonical.com>2010-09-09 11:26:59 -0400
commita8339d74944ac724f0d3c782334d57fc97a628b9 (patch)
tree6950c50a04f935e1d0cb8aea13f81b831d01bb0e /tests/Makefile.am
parentb73234dae98ad8a921457858ff19079b8266d295 (diff)
parentbe073ce65ee3a15a4e6aa14fcc88176df184caa6 (diff)
downloadlibdbusmenu-a8339d74944ac724f0d3c782334d57fc97a628b9.tar.gz
libdbusmenu-a8339d74944ac724f0d3c782334d57fc97a628b9.tar.bz2
libdbusmenu-a8339d74944ac724f0d3c782334d57fc97a628b9.zip
* New upstream release.
* Handling window grabs on activated signals (LP: #633275) * Fixing the passing of the value to the results signal * Adding a test for checking event results signal * Changing the timeouts on event calls for better detection of failing applications
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9f621cb..aa79c8f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -5,6 +5,7 @@ CLEANFILES=
TESTS = \
test-glib-objects-test \
+ test-glib-events \
test-glib-layout \
test-glib-properties \
test-glib-proxy \
@@ -20,6 +21,8 @@ TESTS = \
check_PROGRAMS = \
glib-server-nomenu \
test-glib-objects \
+ test-glib-events-client \
+ test-glib-events-server \
test-glib-layout-client \
test-glib-layout-server \
test-glib-properties-client \
@@ -129,6 +132,37 @@ test_glib_layout_client_LDADD = \
$(DBUSMENUGLIB_LIBS)
######################
+# Test Glib Events
+######################
+
+test-glib-events: test-glib-events-client test-glib-events-server Makefile.am
+ @echo "#!/bin/bash" > $@
+ @echo $(DBUS_RUNNER) --task ./test-glib-events-client --task-name Client --task ./test-glib-events-server --task-name Server --ignore-return >> $@
+ @chmod +x $@
+
+test_glib_events_server_SOURCES = \
+ test-glib-events-server.c
+
+test_glib_events_server_CFLAGS = \
+ -I $(srcdir)/.. \
+ $(DBUSMENUGLIB_CFLAGS) -Wall -Werror
+
+test_glib_events_server_LDADD = \
+ ../libdbusmenu-glib/libdbusmenu-glib.la \
+ $(DBUSMENUGLIB_LIBS)
+
+test_glib_events_client_SOURCES = \
+ test-glib-events-client.c
+
+test_glib_events_client_CFLAGS = \
+ -I $(srcdir)/.. \
+ $(DBUSMENUGLIB_CFLAGS) -Wall -Werror
+
+test_glib_events_client_LDADD = \
+ ../libdbusmenu-glib/libdbusmenu-glib.la \
+ $(DBUSMENUGLIB_LIBS)
+
+######################
# Test JSON
######################