[next] telepathy-idle: Turn off anti-flooding in the test wrapper, not in exec-with-log.sh

Simon McVittie smcv at kemper.freedesktop.org
Mon Apr 7 09:05:00 PDT 2014


Module: telepathy-idle
Branch: next
Commit: c3ae7eebc32ff85ca9950c787b37dff2c01e2ae2
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=c3ae7eebc32ff85ca9950c787b37dff2c01e2ae2

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Wed Apr  2 18:27:33 2014 +0100

Turn off anti-flooding in the test wrapper, not in exec-with-log.sh

We don't use exec-with-log.sh when installed.

---

 tests/twisted/run-test.sh.in            |    6 ++++++
 tests/twisted/tools/exec-with-log.sh.in |    2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index d688888..6f85a3d 100644
--- a/tests/twisted/run-test.sh.in
+++ b/tests/twisted/run-test.sh.in
@@ -47,6 +47,12 @@ else
   export IDLE_SSL_CERT
 fi
 
+# Turn off anti-flooding to hurry the tests up (without this,
+# channels/join-muc-channel-bouncer.py will time out, and the rest
+# will be really slow)
+IDLE_HTFU=seriously
+export IDLE_HTFU
+
 if [ -n "$1" ] ; then
   list="$1"
 else
diff --git a/tests/twisted/tools/exec-with-log.sh.in b/tests/twisted/tools/exec-with-log.sh.in
index b3629c3..e858e1c 100644
--- a/tests/twisted/tools/exec-with-log.sh.in
+++ b/tests/twisted/tools/exec-with-log.sh.in
@@ -2,7 +2,7 @@
 
 cd "@abs_top_builddir@/tests/twisted/tools"
 
-export IDLE_DEBUG=all IDLE_HTFU=seriously
+export IDLE_DEBUG=all
 G_MESSAGES_DEBUG=all
 export G_MESSAGES_DEBUG
 ulimit -c unlimited



More information about the telepathy-commits mailing list