dbus/test/internals
Simon McVittie 3d557ff7b1 tests: In slower tests, make the timeout per-test-case
Some test-cases in the dbus-daemon and relay tests spam the bus with
thousands of messages, which can take 25 seconds on slower CPUs like
MIPS. Similarly, the refs test spams millions of refcount operations,
which it appears might take more than a minute on PA-RISC (HPPA).

To get an idea of how close we are to having a problem on other
architectures, log a message and start a timer when we reset the
timeout in setup(), and log the elapsed time when we reach teardown().

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103009
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
2017-09-27 14:45:49 +01:00
..
printf.c Add more _DBUS_GNUC_PRINTF annotations 2016-11-10 11:46:33 +00:00
refs.c tests: In slower tests, make the timeout per-test-case 2017-09-27 14:45:49 +01:00
syslog.c internals: Decouple logging an error from exiting unsuccessfully 2017-07-05 13:12:37 +01:00
variant.c test-variant: Add a regression test for DBusVariant 2017-07-05 16:22:54 +01:00