test-debug.py fail with --disable-debug-cache
Submitted by Alban Crequy
Assigned to Telepathy bugs list
Description
Gabble unit test test-debug.py fails when telepathy-glib is compiled with --disable-debug-cache:
Traceback (most recent call last): File "/usr/lib/telepathy-gabble-tests/twisted/gabbletest.py", line 647, in exec_test_deferred fun(queue, bus, conns[0], streams[0]) File "/usr/lib/telepathy-gabble-tests/twisted/test-debug.py", line 31, in test assert len(debug.GetMessages()) > 0 AssertionError
The Gabble test suite does not know whether debug-cache is enabled or not in tp-glib.