From: Rudolf Polzer Date: Sat, 28 Jan 2012 16:56:16 +0000 (+0100) Subject: hide errors of "del" X-Git-Tag: xonotic-v0.6.0~30^2~6 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;ds=sidebyside;h=072bda29b04381d5bfd5b05d39773147015d5c1b;hp=8b78cb42e6a4030a90fb06df6b4b678b880a1760;p=xonotic%2Fxonotic.git hide errors of "del" --- diff --git a/misc/tools/the-big-benchmark/the-big-benchmark.bat b/misc/tools/the-big-benchmark/the-big-benchmark.bat index 3b78845b..e853a683 100644 --- a/misc/tools/the-big-benchmark/the-big-benchmark.bat +++ b/misc/tools/the-big-benchmark/the-big-benchmark.bat @@ -23,12 +23,12 @@ set xonotic=xonotic.exe goto postarg :postarg -del data\the-big-benchmark.log -del data\benchmark.log -del data\engine.log +if exist data\the-big-benchmark.log del data\the-big-benchmark.log +if exist data\benchmark.log del data\benchmark.log +if exist data\engine.log del data\engine.log set p=+developer 1 -nohome -benchmarkruns 4 -benchmarkruns_skipfirst -benchmark demos/the-big-keybench.dem -del data\benchmark.log +if exist data\benchmark.log del data\benchmark.log echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-omg.cfg %p% >> data\engine.log %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-omg.cfg %p% >> data\engine.log 2>&1 find "]quit" data\engine.log >nul @@ -36,7 +36,7 @@ if not errorlevel 1 goto done type data\engine.log >> data\the-big-benchmark.log type data\benchmark.log >> data\the-big-benchmark.log -del data\benchmark.log +if exist data\benchmark.log del data\benchmark.log echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-low.cfg %p% >> data\engine.log %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-low.cfg %p% >> data\engine.log 2>&1 find "]quit" data\engine.log >nul @@ -44,7 +44,7 @@ if not errorlevel 1 goto done type data\engine.log >> data\the-big-benchmark.log type data\benchmark.log >> data\the-big-benchmark.log -del data\benchmark.log +if exist data\benchmark.log del data\benchmark.log echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-med.cfg %p% >> data\engine.log %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-med.cfg %p% >> data\engine.log 2>&1 find "]quit" data\engine.log >nul @@ -52,7 +52,7 @@ if not errorlevel 1 goto done type data\engine.log >> data\the-big-benchmark.log type data\benchmark.log >> data\the-big-benchmark.log -del data\benchmark.log +if exist data\benchmark.log del data\benchmark.log echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-normal.cfg %p% >> data\engine.log %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-normal.cfg %p% >> data\engine.log 2>&1 find "]quit" data\engine.log >nul @@ -60,7 +60,7 @@ if not errorlevel 1 goto done type data\engine.log >> data\the-big-benchmark.log type data\benchmark.log >> data\the-big-benchmark.log -del data\benchmark.log +if exist data\benchmark.log del data\benchmark.log echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-high.cfg %p% >> data\engine.log %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-high.cfg %p% >> data\engine.log 2>&1 find "]quit" data\engine.log >nul @@ -68,7 +68,7 @@ if not errorlevel 1 goto done type data\engine.log >> data\the-big-benchmark.log type data\benchmark.log >> data\the-big-benchmark.log -del data\benchmark.log +if exist data\benchmark.log del data\benchmark.log echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultra.cfg %p% >> data\engine.log %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultra.cfg %p% >> data\engine.log 2>&1 find "]quit" data\engine.log >nul @@ -76,7 +76,7 @@ if not errorlevel 1 goto done type data\engine.log >> data\the-big-benchmark.log type data\benchmark.log >> data\the-big-benchmark.log -del data\benchmark.log +if exist data\benchmark.log del data\benchmark.log echo + %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultimate.cfg %p% >> data\engine.log %xonotic% %2 %3 %4 %5 %6 %7 %8 %9 +exec effects-ultimate.cfg %p% >> data\engine.log 2>&1 find "]quit" data\engine.log >nul @@ -86,8 +86,8 @@ type data\benchmark.log >> data\the-big-benchmark.log :done -del data\benchmark.log -del data\engine.log +if exist data\benchmark.log del data\benchmark.log +if exist data\engine.log del data\engine.log if exist data\the-big-benchmark.log goto logisgood echo.