aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test-json-server.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 06191b1..9e3e472 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -249,7 +249,7 @@ test-json-instruction: test-json-client test-json-server test-json-instruction-c
@echo export G_DEBUG=fatal_criticals >> $@
@echo export G_MESSAGES_DEBUG=all >> $@
@echo $(XVFB_RUN) >> $@
- @echo $(DBUS_RUNNER) --task $(builddir)/test-json-client --wait-for org.dbusmenu.test --task-name Client --parameter $(top_builddir)/tools/dbusmenu-dumper --parameter /dev/null --task "$(abs_top_builddir)/libtool" --parameter --mode=execute --parameter $(srcdir)/test-json-instruction-count --parameter $(builddir)/test-json-server --task-name Server --parameter $(srcdir)/test-json-01.json >> $@
+ @echo $(DBUS_RUNNER) --task $(builddir)/test-json-client --wait-for org.dbusmenu.test --task-name Client --parameter $(top_builddir)/tools/dbusmenu-dumper --parameter /dev/null --task $(srcdir)/test-json-instruction-count --parameter $(builddir)/test-json-server --task-name Server --parameter $(srcdir)/test-json-01.json >> $@
@chmod +x $@
EXTRA_DIST += \
diff --git a/tests/test-json-server.c b/tests/test-json-server.c
index 9a2dd8e..2603070 100644
--- a/tests/test-json-server.c
+++ b/tests/test-json-server.c
@@ -36,8 +36,7 @@ root_activate (void)
g_debug("Dumping callgrind data");
CALLGRIND_DUMP_STATS_AT("exported");
CALLGRIND_STOP_INSTRUMENTATION;
- g_main_loop_quit(mainloop);
- return;
+ g_timeout_add(500, (GSourceFunc)g_main_loop_quit, mainloop);
}
static void