forked from github/server
also silence the git pull command and valgrind
This commit is contained in:
parent
7a1cebb259
commit
f4180638af
|
@ -25,7 +25,7 @@ cd $SOURCE
|
||||||
rm -rf crypto tolua
|
rm -rf crypto tolua
|
||||||
git fetch || abort "failed to update source. do you have local changes?"
|
git fetch || abort "failed to update source. do you have local changes?"
|
||||||
[ -z $1 ] || git checkout $1
|
[ -z $1 ] || git checkout $1
|
||||||
git pull
|
git pull -q
|
||||||
git submodule update
|
git submodule update
|
||||||
s/build > /dev/null || abort "build failed."
|
s/build > /dev/null || abort "build failed."
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ SUPP="$SOURCE/share/debian-7_8.supp"
|
||||||
SERVER="$SOURCE/Debug/eressea/eressea"
|
SERVER="$SOURCE/Debug/eressea/eressea"
|
||||||
VALGRIND=$(which valgrind)
|
VALGRIND=$(which valgrind)
|
||||||
if [ ! -z $VALGRIND ]; then
|
if [ ! -z $VALGRIND ]; then
|
||||||
SERVER="$VALGRIND --suppressions=$SUPP --error-exitcode=1 --leak-check=no $SERVER"
|
SERVER="$VALGRIND --quiet --suppressions=$SUPP --error-exitcode=1 --leak-check=no $SERVER"
|
||||||
fi
|
fi
|
||||||
$SERVER -v$verbose -t$turn $SOURCE/scripts/run-turn.lua
|
$SERVER -v$verbose -t$turn $SOURCE/scripts/run-turn.lua
|
||||||
let turn=$turn+1
|
let turn=$turn+1
|
||||||
|
|
Loading…
Reference in New Issue