diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-14 17:13:03 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-18 11:53:37 +0000 |
commit | bddc17e89cc36f3c026f85f922ed1d0b5aedc1a9 (patch) | |
tree | 98156656ef57e902f7d3bc12fc857a8920411f81 | |
parent | b122e8d9a7bbd6267aeec700605da76304aca6b9 (diff) | |
download | telepathy-glib-bddc17e89cc36f3c026f85f922ed1d0b5aedc1a9.tar.gz |
example-no-protocols test: guard against CM process exiting
-rw-r--r-- | tests/dbus/example-no-protocols.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/dbus/example-no-protocols.c b/tests/dbus/example-no-protocols.c index 68001ca37..d2b28da3a 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"); |