]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - the-big-benchmark.sh
defaultplayercolors should be here too
[xonotic/xonotic.git] / the-big-benchmark.sh
index 8430604c8f74992e356e49ae9b2fb31446dff3f3..7159ef8f453b284ff1ceb217f583ebd0bdd96851 100755 (executable)
@@ -25,17 +25,19 @@ while :; do
 done
 
 set -x
+rm -f data/benchmark.log
 ./all clean --reclone
 ./all compile -r
-./all run -nohome -benchmarkruns 3 -benchmark demos/the-big-keybench.dem +//div0-stable
-./all clean --reclone
+./all run "$@" -nohome -benchmarkruns 3 -benchmark demos/the-big-keybench.dem +//div0-stable || true
+./all clean -r -f
 (
        cd darkplaces
        git checkout master || git checkout -t origin/master || exit 1
 )
 ./all compile -r
-./all run -nohome -benchmarkruns 3 -benchmark demos/the-big-keybench.dem +//master
-./all clean --reclone
+./all run "$@" -nohome -benchmarkruns 3 -benchmark demos/the-big-keybench.dem +//master || true
+./all clean -r -f -u
+set +x
 
 echo
 echo "Please provide the the following info to the Xonotic developers:"
@@ -45,6 +47,6 @@ echo " - graphics card (which vendor, which model)"
 echo " - operating system (including whether it is 32bit or 64bit)"
 echo " - graphics driver version"
 echo " - the following info:"
-tail -n 6 data/benchmark.log
+cat data/benchmark.log
 echo
 echo "Thank you"