From: Rudolf Polzer Date: Sun, 1 Feb 2015 17:58:11 +0000 (+0100) Subject: Add a command ./all serverbench dedicated to quickly run serverbench. X-Git-Tag: xonotic-v0.8.1~24 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f19bb65e08e05c1e211610e7884394267b0757f5;p=xonotic%2Fxonotic.git Add a command ./all serverbench dedicated to quickly run serverbench. --- diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index 3aa15837..6f66d62e 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -356,6 +356,15 @@ case "$cmd" in $ECHO " $SELF compile-map mapname1 mapname2... (e.g. \"./all compile-map dance drain fuse\")" handled=false ;; + serverbench) + # TODO(rpolzer): Why does :anticheat: output differ? Total game time differs? Why? + verbose "$SELF" run "$@" -noconfig -nohome +exec serverbench.cfg |\ + tee /dev/stderr |\ + grep '^:' |\ + grep -v '^:gamestart:' |\ + grep -v '^:anticheat:' |\ + md5sum + ;; *) handled=false ;;