[next] telepathy-glib: example-no-protocols test: guard against CM process exiting
Simon McVittie
smcv at kemper.freedesktop.org
Tue Mar 18 05:45:05 PDT 2014
Module: telepathy-glib
Branch: next
Commit: bddc17e89cc36f3c026f85f922ed1d0b5aedc1a9
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=bddc17e89cc36f3c026f85f922ed1d0b5aedc1a9
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Fri Mar 14 17:13:03 2014 +0000
example-no-protocols test: guard against CM process exiting
---
tests/dbus/example-no-protocols.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/dbus/example-no-protocols.c b/tests/dbus/example-no-protocols.c
index 68001ca..d2b28da 100644
--- a/tests/dbus/example-no-protocols.c
+++ b/tests/dbus/example-no-protocols.c
@@ -101,6 +101,10 @@ main (int argc,
GError *error = NULL;
gboolean saw_exited;
+ /* If we're running slowly (for instance in a parallel build)
+ * we don't want the CM process in the background to time out and exit. */
+ g_setenv ("EXAMPLE_PERSIST", "1", TRUE);
+
tp_tests_abort_after (5);
tp_debug_set_flags ("all");
More information about the telepathy-commits
mailing list