From 072bda29b04381d5bfd5b05d39773147015d5c1b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 28 Jan 2012 17:56:16 +0100 Subject: [PATCH] hide errors of "del" --- .../the-big-benchmark/the-big-benchmark.bat | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) 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. -- 2.39.2