#!/bin/sh

cd "@abs_top_builddir@/tests/twisted/tools"

export SALUT_DEBUG=all GIBBER_DEBUG=all
ulimit -c unlimited
exec > salut-testing.log 2>&1

if test -n "$SALUT_TEST_VALGRIND"; then
	export G_DEBUG=gc-friendly
	export G_SLICE=always-malloc
	SALUT_WRAPPER="valgrind --leak-check=full --num-callers=20"
elif test -n "$SALUT_TEST_REFDBG"; then
        if test -z "$REFDBG_OPTIONS" ; then
                export REFDBG_OPTIONS="btnum=10"
        fi
        if test -z "$SALUT_WRAPPER" ; then
                SALUT_WRAPPER="refdbg"
        fi
fi

export G_DEBUG=fatal-warnings" ${G_DEBUG}"
exec @abs_top_builddir@/libtool --mode=execute $SALUT_WRAPPER @abs_top_builddir@/src/telepathy-salut

#!/bin/sh

cd "@abs_top_builddir@/tests/twisted/tools"

export SALUT_DEBUG=all GIBBER_DEBUG=all WOCKY_DEBUG=all
ulimit -c unlimited
exec > salut-testing.log 2>&1

if test -n "$SALUT_TEST_VALGRIND"; then
	export G_DEBUG=gc-friendly
	export G_SLICE=always-malloc
	SALUT_WRAPPER="valgrind --leak-check=full --num-callers=20"
elif test -n "$SALUT_TEST_REFDBG"; then
        if test -z "$REFDBG_OPTIONS" ; then
                export REFDBG_OPTIONS="btnum=10"
        fi
        if test -z "$SALUT_WRAPPER" ; then
                SALUT_WRAPPER="refdbg"
        fi
fi

export G_DEBUG=fatal-warnings" ${G_DEBUG}"
exec @abs_top_builddir@/libtool --mode=execute $SALUT_WRAPPER @abs_top_builddir@/src/telepathy-salut

Put Wocky debug information in test logs, now we use it
Put Wocky debug information in test logs, now we use it
