Codechange: move regression outside of bin and make it work via CMake script

The tst_stationlist savegame had to be changed to start the correct
AI. In the old setup, all regression AIs had the same name, which
made it impossible to run both regressions in parallel. With the new
setup this is possible.

Although all files are available to run the regression, it won't
really work till CMake is introduced (which will happen in a few
commits from here)
This commit is contained in:
Patric Stout
2019-04-07 11:45:52 +02:00
committed by glx22
parent 84b71f7962
commit 203a77c1dc
15 changed files with 125 additions and 303 deletions

View File

@@ -0,0 +1,13 @@
class Regression extends AIInfo {
function GetAuthor() { return "OpenTTD NoAI Developers Team"; }
function GetName() { return "Regression"; }
function GetShortName() { return "REGR"; }
function GetDescription() { return "This runs regression-tests on some commands. On the same map the result should always be the same."; }
function GetVersion() { return 1; }
function GetAPIVersion() { return "1.11"; }
function GetDate() { return "2007-03-18"; }
function CreateInstance() { return "Regression"; }
}
RegisterAI(Regression());

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,2 @@
print(" Required this file");

File diff suppressed because it is too large Load Diff

Binary file not shown.