~ted/libdbusmenu/lp950762

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Ted Gould
  • Date: 2012-02-15 17:12:32 UTC
  • mfrom: (362.2.5 insert-criticals)
  • Revision ID: ted@gould.cx-20120215171232-9xejir8p6jtcr2hy
Fix some of the issues with throwing criticals

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
 
136
136
test-glib-layout: test-glib-layout-client test-glib-layout-server Makefile.am
137
137
        @echo "#!/bin/bash" > $@
 
138
        @echo export UBUNTU_MENUPROXY="" >> $@
138
139
        @echo export G_DEBUG=fatal_criticals >> $@
139
140
        @echo $(DBUS_RUNNER) --task ./test-glib-layout-client --task-name Client --task ./test-glib-layout-server --task-name Server --ignore-return >> $@
140
141
        @chmod +x $@
169
170
 
170
171
test-glib-events: test-glib-events-client test-glib-events-server Makefile.am
171
172
        @echo "#!/bin/bash" > $@
 
173
        @echo export UBUNTU_MENUPROXY="" >> $@
172
174
        @echo export G_DEBUG=fatal_criticals >> $@
173
175
        @echo $(DBUS_RUNNER) --task ./test-glib-events-client --task-name Client --task ./test-glib-events-server --task-name Server --ignore-return >> $@
174
176
        @chmod +x $@
201
203
 
202
204
test-json: test-json-client test-json-server Makefile.am
203
205
        @echo "#!/bin/bash" > $@
 
206
        @echo export UBUNTU_MENUPROXY="" >> $@
204
207
        @echo export G_DEBUG=fatal_criticals >> $@
205
208
        @echo $(XVFB_RUN) >> $@
206
209
        @echo $(DBUS_RUNNER) --task ./test-json-client --task-name Client --parameter $(top_builddir)/tools/dbusmenu-dumper --parameter test-json-01.output.json --ignore-return --task ./test-json-server --task-name Server --parameter $(srcdir)/test-json-01.json --ignore-return >> $@
243
246
 
244
247
test-glib-submenu: test-glib-submenu-client test-glib-submenu-server Makefile.am
245
248
        @echo "#!/bin/bash" > $@
246
 
        @echo export G_DEBUG=fatal_criticals >> $@
 
249
        @echo export UBUNTU_MENUPROXY="" >> $@
 
250
# Removing the check for criticals here as there's one coming from GTK
 
251
# in the grabbing code on GTK3.  Since we can't add events to the stack
 
252
# we can't remove this error from getting thrown :-(
 
253
#       @echo export G_DEBUG=fatal_criticals >> $@
247
254
        @echo $(DBUS_RUNNER) --task ./test-glib-submenu-client --task-name Client --task ./test-glib-submenu-server --task-name Server --ignore-return >> $@
248
255
        @chmod +x $@
249
256
 
279
286
 
280
287
test-glib-objects-test: test-glib-objects Makefile.am
281
288
        @echo "#!/bin/bash" > $@
 
289
        @echo export UBUNTU_MENUPROXY="" >> $@
282
290
        @echo export G_DEBUG=fatal_criticals >> $@
283
291
        @echo $(DBUS_RUNNER) --task gtester --task-name test --parameter --verbose --parameter -k --parameter -o --parameter $(OBJECT_XML_REPORT) --parameter ./test-glib-objects >> $@
284
292
        @chmod +x $@
302
310
 
303
311
test-glib-properties: test-glib-properties-client test-glib-properties-server Makefile.am
304
312
        @echo "#!/bin/bash" > $@
 
313
        @echo export UBUNTU_MENUPROXY="" >> $@
305
314
        @echo export G_DEBUG=fatal_criticals >> $@
306
315
        @echo $(DBUS_RUNNER) --task ./test-glib-properties-client --task-name Client --task ./test-glib-properties-server --task-name Server --ignore-return >> $@
307
316
        @chmod +x $@
336
345
 
337
346
test-glib-proxy: test-glib-proxy-client test-glib-proxy-server test-glib-proxy-proxy Makefile.am
338
347
        @echo "#!/bin/bash" > $@
 
348
        @echo export UBUNTU_MENUPROXY="" >> $@
339
349
        @echo export G_DEBUG=fatal_criticals >> $@
340
350
        @echo $(DBUS_RUNNER) --task ./test-glib-proxy-client --task-name Client --task ./test-glib-proxy-server --task-name Server --ignore-return \\ >> $@
341
351
        @echo --task ./test-glib-proxy-proxy --parameter test.proxy.first_proxy --parameter test.proxy.second_proxy --task-name Proxy01 --ignore-return \\ >> $@
406
416
 
407
417
test-gtk-objects-test: test-gtk-objects Makefile.am
408
418
        @echo "#!/bin/bash" > $@
 
419
        @echo export UBUNTU_MENUPROXY="" >> $@
409
420
        @echo export G_DEBUG=fatal_criticals >> $@
410
421
        @echo $(XVFB_RUN) >> $@
411
422
        @echo $(DBUS_RUNNER) --task gtester --task-name test --parameter --verbose --parameter -k --parameter -o --parameter $(GTK_OBJECT_XML_REPORT) --parameter ./test-gtk-objects >> $@
437
448
 
438
449
test-gtk-parser-test: test-gtk-parser Makefile.am
439
450
        @echo "#!/bin/bash" > $@
 
451
        @echo export UBUNTU_MENUPROXY="" >> $@
440
452
        @echo export G_DEBUG=fatal_criticals >> $@
441
453
        @echo $(XVFB_RUN) >> $@
442
454
        @echo gtester --verbose -k -o $(GTK_PARSER_XML_REPORT) ./test-gtk-parser >> $@
466
478
 
467
479
test-gtk-label: test-gtk-label-client test-gtk-label-server test-gtk-label.json Makefile.am
468
480
        @echo "#!/bin/bash" > $@
 
481
        @echo export UBUNTU_MENUPROXY="" >> $@
469
482
        @echo export G_DEBUG=fatal_criticals >> $@
470
483
        @echo $(XVFB_RUN) >> $@
471
484
        @echo $(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 >> $@
508
521
 
509
522
test-gtk-shortcut: test-gtk-shortcut-client test-gtk-shortcut-server Makefile.am
510
523
        @echo "#!/bin/bash" > $@
 
524
        @echo export UBUNTU_MENUPROXY="" >> $@
511
525
        @echo export G_DEBUG=fatal_criticals >> $@
512
526
        @echo $(XVFB_RUN) >> $@
513
527
        @echo $(DBUS_RUNNER) --task ./test-gtk-shortcut-client --task-name Client --task ./test-gtk-shortcut-server --task-name Server --ignore-return >> $@
549
563
 
550
564
test-gtk-shortcut-python: test-gtk-shortcut-server test-gtk-shortcut-client.py Makefile.am
551
565
        @echo "#!/bin/bash" > $@
 
566
        @echo export UBUNTU_MENUPROXY="" >> $@
552
567
        @echo export G_DEBUG=fatal_criticals >> $@
553
568
        @echo $(XVFB_RUN) >> $@
554
569
        @echo $(DBUS_RUNNER) --task $(srcdir)/test-gtk-shortcut-client.py --task-name Client --task ./test-gtk-shortcut-server --task-name Server --ignore-return >> $@
563
578
 
564
579
test-gtk-reorder: test-gtk-label-client test-gtk-reorder-server Makefile.am
565
580
        @echo "#!/bin/bash" > $@
 
581
        @echo export UBUNTU_MENUPROXY="" >> $@
566
582
        @echo export G_DEBUG=fatal_criticals >> $@
567
583
        @echo $(XVFB_RUN) >> $@
568
584
        @echo $(DBUS_RUNNER) --task ./test-gtk-label-client --task-name Client --task ./test-gtk-reorder-server --parameter $(srcdir)/test-gtk-label.json --task-name Server --ignore-return >> $@
589
605
 
590
606
test-gtk-submenu: test-gtk-submenu-client test-gtk-submenu-server Makefile.am
591
607
        @echo "#!/bin/bash" > $@
 
608
        @echo export UBUNTU_MENUPROXY="" >> $@
592
609
        @echo export G_DEBUG=fatal_criticals >> $@
593
610
        @echo $(XVFB_RUN) >> $@
594
611
        @echo $(DBUS_RUNNER) --task ./test-gtk-submenu-client --task-name Client --task ./test-gtk-submenu-server --task-name Server --ignore-return >> $@
630
647
 
631
648
test-mago: test-gtk-label-client test-gtk-label-server $(srcdir)/dbusmenu-gtk/mago_tests/dbusmenu.xml Makefile.am
632
649
        @echo "#!/bin/bash" > $@
 
650
        @echo export UBUNTU_MENUPROXY="" >> $@
633
651
        @echo export G_DEBUG=fatal_criticals >> $@
634
652
        @echo $(XVFB_RUN) >> $@
635
653
        @echo cd $(srcdir)/dbusmenu-gtk >> $@