projects
/
xonotic
/
xonotic.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
12046ba
)
Add a command ./all serverbench dedicated to quickly run serverbench.
author
Rudolf Polzer <divVerent@xonotic.org>
Sun, 1 Feb 2015 17:58:11 +0000
(18:58 +0100)
committer
Rudolf Polzer <divVerent@xonotic.org>
Sun, 1 Feb 2015 17:58:11 +0000
(18:58 +0100)
misc/tools/all/xonotic.subr
patch
|
blob
|
history
diff --git
a/misc/tools/all/xonotic.subr
b/misc/tools/all/xonotic.subr
index 3aa15837fcee39af4d5baeff43e78d056d7a249a..6f66d62e76048a755f8ca3afe7e8e4ac1e08311f 100644
(file)
--- 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
;;
$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
;;
*)
handled=false
;;