2015-09-11 09:34:38 +02:00
|
|
|
@ECHO OFF
|
2021-02-21 09:48:27 +01:00
|
|
|
IF EXIST ..\build-vs10 SET BUILD=..\build-vs10\Debug
|
|
|
|
IF EXIST ..\build-vs11 SET BUILD=..\build-vs11\\Debug
|
|
|
|
IF EXIST ..\build-vs12 SET BUILD=..\build-vs12\Debug
|
|
|
|
IF EXIST ..\build-vs14 SET BUILD=..\build-vs14\Debug
|
|
|
|
IF EXIST ..\build-vs15 SET BUILD=..\build-vs15\Debug
|
|
|
|
IF EXIST ..\build-vs16 SET BUILD=..\build-vs16\Debug
|
2021-02-22 01:53:01 +01:00
|
|
|
IF EXIST ..\out\build\x86-Debug\eressea.exe SET BUILD=..\out\build\x86-Debug
|
|
|
|
IF EXIST ..\out\build\x64-Debug\eressea.exe SET BUILD=..\out\build\x64-Debug
|
2018-10-14 14:45:05 +02:00
|
|
|
|
2015-09-11 09:34:38 +02:00
|
|
|
SET SERVER=%BUILD%\eressea.exe
|
|
|
|
%BUILD%\test_eressea.exe
|
2021-02-22 19:32:08 +01:00
|
|
|
SET LUA_PATH=..\scripts\?.lua;%LUA_PATH%
|
2021-02-15 19:49:25 +01:00
|
|
|
|
2019-04-23 13:18:51 +02:00
|
|
|
%SERVER% -v1 ..\scripts\run-tests.lua
|
|
|
|
%SERVER% -v1 -re2 ..\scripts\run-tests-e2.lua
|
|
|
|
%SERVER% -v1 -re3 ..\scripts\run-tests-e3.lua
|
2017-03-29 04:30:54 +02:00
|
|
|
%SERVER% --version
|
2015-09-11 09:34:38 +02:00
|
|
|
PAUSE
|
|
|
|
RMDIR /s /q reports
|
2016-09-11 21:18:50 +02:00
|
|
|
DEL score score.alliances datum turn
|