summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rwxr-xr-xtests/twisted/tools/exec-with-log.sh31
-rw-r--r--tests/twisted/tools/tmp-session-bus.conf27
3 files changed, 2 insertions, 58 deletions
diff --git a/.gitignore b/.gitignore
index 472cc1e..398f2b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,7 +53,9 @@ extensions/_gen/
extensions/doc/
tests/test-*[^ch]
tests/twisted/telepathy-logger-debug
+tests/twisted/tools/exec-with-log.sh
tests/twisted/tools/org.freedesktop.Telepathy.Client.TelepathyLogger.service
+tests/twisted/tools/tmp-session-bus.conf
doc/reference/libtelepathy-logger/*.stamp
doc/reference/libtelepathy-logger/html/
diff --git a/tests/twisted/tools/exec-with-log.sh b/tests/twisted/tools/exec-with-log.sh
deleted file mode 100755
index fef4d54..0000000
--- a/tests/twisted/tools/exec-with-log.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-cd "/home/kalfa/src/telepathy-logger/tests/twisted/tools"
-
-export TPL_DEBUG=all
-ulimit -c unlimited
-exec >> tpl-testing.log 2>&1
-
-if test -n "$TPL_TEST_VALGRIND"; then
- export G_DEBUG=${G_DEBUG:+"${G_DEBUG},"}gc-friendly
- export G_SLICE=always-malloc
- export DBUS_DISABLE_MEM_POOLS=1
- TPL_WRAPPER="valgrind --leak-check=full --num-callers=20"
- TPL_WRAPPER="$TPL_WRAPPER --show-reachable=yes"
- TPL_WRAPPER="$TPL_WRAPPER --gen-suppressions=all"
- TPL_WRAPPER="$TPL_WRAPPER --child-silent-after-fork=yes"
- TPL_WRAPPER="$TPL_WRAPPER --suppressions=/home/kalfa/src/telepathy-logger/tests/suppressions/tp-glib.supp"
- TPL_WRAPPER="$TPL_WRAPPER --suppressions=/home/kalfa/src/telepathy-logger/tests/suppressions/tpl.supp"
-elif test -n "$TPL_TEST_REFDBG"; then
- if test -z "$REFDBG_OPTIONS" ; then
- export REFDBG_OPTIONS="btnum=10"
- fi
- if test -z "$TPL_WRAPPER" ; then
- TPL_WRAPPER="refdbg"
- fi
-elif test -n "$TPL_TEST_STRACE"; then
- TPL_WRAPPER="strace -o strace.log"
-fi
-
-export G_DEBUG=fatal-warnings,fatal-criticals" ${G_DEBUG}"
-exec /home/kalfa/src/telepathy-logger/libtool --mode=execute $TPL_WRAPPER ../telepathy-tpl-debug
diff --git a/tests/twisted/tools/tmp-session-bus.conf b/tests/twisted/tools/tmp-session-bus.conf
deleted file mode 100644
index df4f0c4..0000000
--- a/tests/twisted/tools/tmp-session-bus.conf
+++ /dev/null
@@ -1,27 +0,0 @@
-<!-- This configuration file controls the per-user-login-session message bus.
- Add a session-local.conf and edit that rather than changing this
- file directly. -->
-
-<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
- <!-- Our well-known bus type, don't change this -->
- <type>session</type>
-
- <listen>unix:tmpdir=/tmp</listen>
-
- <servicedir>/home/kalfa/src/telepathy-logger/tests/twisted/tools</servicedir>
-
- <policy context="default">
- <!-- Allow everything to be sent -->
- <allow send_destination="*" eavesdrop="true"/>
- <!-- Allow everything to be received -->
- <allow eavesdrop="true"/>
- <!-- Allow anyone to own anything -->
- <allow own="*"/>
- </policy>
-
- <!-- This is included last so local configuration can override what's
- in this standard file -->
-
-</busconfig>