forked from github/server
20 lines
684 B
Batchfile
20 lines
684 B
Batchfile
@ECHO OFF
|
|
IF EXIST ..\build-vs10 SET BUILD=..\build-vs10\eressea\Debug
|
|
IF EXIST ..\build-vs11 SET BUILD=..\build-vs11\eressea\Debug
|
|
IF EXIST ..\build-vs12 SET BUILD=..\build-vs12\eressea\Debug
|
|
IF EXIST ..\build-vs14 SET BUILD=..\build-vs14\eressea\Debug
|
|
IF EXIST ..\build-vs15 SET BUILD=..\build-vs15\eressea\Debug
|
|
IF EXIST ..\build-vs16 SET BUILD=..\build-vs16\eressea\Debug
|
|
|
|
SET SERVER=%BUILD%\eressea.exe
|
|
%BUILD%\test_eressea.exe
|
|
SET LUA_PATH=..\share\lua\5.4\?.lua;;
|
|
|
|
%SERVER% -v1 ..\scripts\run-tests.lua
|
|
%SERVER% -v1 -re2 ..\scripts\run-tests-e2.lua
|
|
%SERVER% -v1 -re3 ..\scripts\run-tests-e3.lua
|
|
%SERVER% --version
|
|
PAUSE
|
|
RMDIR /s /q reports
|
|
DEL score score.alliances datum turn
|