./all: always output how long the program ran. Sometimes useful, and doesn't add much more spam.

This commit is contained in:
Rudolf Polzer 2014-01-04 19:45:34 +01:00
parent 491748a8cb
commit b3e57be3ff

View File

@ -336,7 +336,7 @@ case "$cmd" in
set -- rlwrap -A -g '^quit' -q "\"" -s 10000 -S ']' -w 100 "$@"
fi
rm -f xonotic.core
"$@" || true
time "$@" || true
if [ -f xonotic.core ]; then
if yesno "The program has CRASHED. Do you want to examine the core dump?"; then
gdb "$binary" xonotic.core