]> git.pond.sub.org Git - empserver/commit
tests/fire: Use build command for setup
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 18 Jan 2014 10:17:49 +0000 (11:17 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 16 Feb 2014 12:19:24 +0000 (13:19 +0100)
commit1b7b5b09e370e19f5cf65683b921b709b0ce3313
treef1f082ff60cd25f3546a1bfea7c0e4fdc0e5dc32
parentb5e155f1017628dd29fb40b1092014b585224272
tests/fire: Use build command for setup

Setup uses edit to build units.  Stupid idea, because that misses unit
initialization normally done by build, directly or via
unit_wipe_orders().  Use build instead.

Changes test output harmlessly: ship xbuilt, ybuilt go from 0,0 to the
building sector, ship#0's builder goes from 98 to 0, all ships'
cargostart and cargoend go from 0 to -1, jhb range from 0 to 35, and
land unit retreat percentage from 0 to 42.

Setup no longer needs country 98.  Drop it.

Setup no longer copies 2,0 to 0,0 messing up its distribution center.
Harmless.

Setup doesn't need POGO's tech level anymore, so don't set it to 400.
Nukes are now built at their required tech level.  Also harmless.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
tests/fire/99-POGO
tests/fire/final.xdump
tests/fire/journal.log
tests/fire/setup-POGO