forked from github/server
use suppression file for old ubuntu
This commit is contained in:
parent
487aaede16
commit
47ff4ca9dd
|
@ -16,13 +16,15 @@ while [ ! -d $ROOT/.git ]; do
|
||||||
ROOT=`dirname $ROOT`
|
ROOT=`dirname $ROOT`
|
||||||
done
|
done
|
||||||
|
|
||||||
|
set -e
|
||||||
cd $ROOT/tests
|
cd $ROOT/tests
|
||||||
setup
|
setup
|
||||||
cleanup
|
cleanup
|
||||||
VALGRIND=`which valgrind`
|
VALGRIND=`which valgrind`
|
||||||
SERVER=../Debug/eressea/eressea
|
SERVER=../Debug/eressea/eressea
|
||||||
if [ -n "$VALGRIND" ]; then
|
if [ -n "$VALGRIND" ]; then
|
||||||
SERVER="$VALGRIND $SERVER"
|
SUPP=../share/ubuntu-12_04.supp
|
||||||
|
SERVER="$VALGRIND --suppressions=$SUPP --error-exitcode=1 --leak-check=no $SERVER"
|
||||||
fi
|
fi
|
||||||
echo "running $SERVER"
|
echo "running $SERVER"
|
||||||
$SERVER -t 184 ../scripts/reports.lua
|
$SERVER -t 184 ../scripts/reports.lua
|
||||||
|
|
Loading…
Reference in New Issue