diff options
author | Patric Stout <truebrain@openttd.org> | 2019-04-07 11:45:52 +0200 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2020-06-05 19:36:05 +0200 |
commit | 203a77c1dc722df677302e84c6d5c0d4cb06d8ee (patch) | |
tree | f14d2016746b24640b0dd8d7dd9d0b342ece9cde /regression/stationlist/info.nut | |
parent | 84b71f796220b382c2bf943a406234ffb18098b8 (diff) | |
download | openttd-203a77c1dc722df677302e84c6d5c0d4cb06d8ee.tar.xz |
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)
Diffstat (limited to 'regression/stationlist/info.nut')
-rw-r--r-- | regression/stationlist/info.nut | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/regression/stationlist/info.nut b/regression/stationlist/info.nut new file mode 100644 index 000000000..42e5072fd --- /dev/null +++ b/regression/stationlist/info.nut @@ -0,0 +1,13 @@ +class StationList extends AIInfo { + function GetAuthor() { return "OpenTTD NoAI Developers Team"; } + function GetName() { return "StationList"; } + function GetShortName() { return "REGS"; } + function GetDescription() { return "This runs stationlist-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 "StationList"; } +} + +RegisterAI(StationList()); + |