blob: 0c82bd855a6490def26dcc7b934679fa20f5f16c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/sh
cd "@abs_top_builddir@/tests/twisted/tools"
export IDLE_DEBUG=all IDLE_HTFU=seriously
G_MESSAGES_DEBUG=all
export G_MESSAGES_DEBUG
ulimit -c unlimited
exec >> idle-testing.log 2>&1
if test -n "$IDLE_TEST_VALGRIND"; then
export G_DEBUG=${G_DEBUG:+"${G_DEBUG},"}gc-friendly
export G_SLICE=always-malloc
IDLE_WRAPPER="valgrind --leak-check=full --num-callers=20"
IDLE_WRAPPER="$IDLE_WRAPPER --show-reachable=yes"
IDLE_WRAPPER="$IDLE_WRAPPER --gen-suppressions=all"
IDLE_WRAPPER="$IDLE_WRAPPER --child-silent-after-fork=yes"
IDLE_WRAPPER="$IDLE_WRAPPER --suppressions=@abs_top_srcdir@/tests/twisted/tools/tp-glib.supp"
elif test -n "$IDLE_TEST_REFDBG"; then
if test -z "$REFDBG_OPTIONS" ; then
export REFDBG_OPTIONS="btnum=10"
fi
if test -z "$IDLE_WRAPPER" ; then
IDLE_WRAPPER="refdbg"
fi
fi
export G_DEBUG=fatal-warnings" ${G_DEBUG}"
if test x"@omit_libtool@" = "xyes"; then
exec $IDLE_WRAPPER @abs_top_builddir@/src/telepathy-idle
else
exec @abs_top_builddir@/libtool --mode=execute $IDLE_WRAPPER @abs_top_builddir@/src/telepathy-idle
fi
|