~aacid/libdbusmenu/amp_replacement

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Charles Kerr
  • Date: 2012-04-04 19:16:32 UTC
  • mfrom: (391.1.37 event-grouping)
  • Revision ID: charles.kerr@canonical.com-20120404191632-wrwpq9ow9w7jxaro
Merge lp:~ted/dbusmenu/event-grouping to reduce the number of dbus messages that hud-service sends.

This change takes all of the events on a client and puts them into single dbus messages to be sent to the server. It also does the same thing for about-to-show messages. Both sets of messages are reserialized on either side to make callers unable to notice the difference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
TESTS = \
9
9
        test-glib-objects-test \
10
10
        test-glib-events \
 
11
        test-glib-events-nogroup \
11
12
        test-glib-layout \
12
13
        test-glib-properties \
13
14
        test-glib-proxy \
45
46
        test-glib-objects \
46
47
        test-glib-events-client \
47
48
        test-glib-events-server \
 
49
        test-glib-events-nogroup-client \
48
50
        test-glib-layout-client \
49
51
        test-glib-layout-server \
50
52
        test-glib-properties-client \
200
202
        ../libdbusmenu-glib/libdbusmenu-glib.la \
201
203
        $(DBUSMENUGLIB_LIBS)
202
204
 
 
205
################################
 
206
# Test Glib Events No Grouping
 
207
################################
 
208
 
 
209
test-glib-events-nogroup: test-glib-events-nogroup-client test-glib-events-server Makefile.am
 
210
        @echo "#!/bin/bash" > $@
 
211
        @echo export UBUNTU_MENUPROXY="" >> $@
 
212
        @echo export G_DEBUG=fatal_criticals >> $@
 
213
        @echo $(DBUS_RUNNER) --task ./test-glib-events-nogroup-client --task-name Client --task ./test-glib-events-server --task-name Server --ignore-return >> $@
 
214
        @chmod +x $@
 
215
 
 
216
test_glib_events_nogroup_client_SOURCES = \
 
217
        test-glib-events-nogroup-client.c
 
218
 
 
219
test_glib_events_nogroup_client_CFLAGS = \
 
220
        -I $(srcdir)/.. \
 
221
        $(DBUSMENUGLIB_CFLAGS) -Wall -Werror
 
222
 
 
223
test_glib_events_nogroup_client_LDADD = \
 
224
        ../libdbusmenu-glib/libdbusmenu-glib.la \
 
225
        $(DBUSMENUGLIB_LIBS)
 
226
 
203
227
######################
204
228
# Test JSON
205
229
######################