Test won't run at all with ./regression_test.py -r test_rip_first_port_with_worker_in_portdock - I get a file not found. Tibor's method works though, here is the relevant output:
Trying to run: map:scripting/init.lua: done Trying to run: test/maps/ship_transportation.wmf/scripting/test_rip_first_port_with_worker_in_portdock.lua: done MO(1,ship): ship_update: No destination anymore. Forcing flag at (16, 17) Message: adding (wh) (warehouse) 1 MO(4,port): Setting up port dock fields MO(4,port): Found 1 fields for the dock Message: adding (wh) (warehouse) 1 Forcing flag at (13, 17) Forcing flag at (16, 17) Clearing for road at (14, 17) Clearing for road at (15, 17) Forcing flag at (16, 3) Message: adding (wh) (warehouse) 1 MO(12,port): Setting up port dock fields MO(12,port): Found 1 fields for the dock Forcing flag at (18, 5) Forcing flag at (18, 5) Forcing flag at (16, 5) Clearing for road at (17, 5) Forcing flag at (16, 5) Forcing flag at (16, 3) Clearing for road at (16, 4) MO(6,fleet): Fleet::act MO(5,portdock): set_need_ship(true) MO(5,portdock): ... trigger fleet update MO(5,portdock): set_need_ship(true) MO(6,fleet): Fleet::act MO(6,fleet): Port 5 needs ship MO(6,fleet): ... ship 1 takes care of it MO(1,ship): set_destination to 5 (currently 0 items) MO(1,ship): ship_update: Go to dock 5 Message: removing warehouse (player 1) MO(23,carrier): init_auto_task: become fugitive MO(23,carrier): [fugitive]: found a flag connected to warehouse(s) MO(23,carrier): [fugitive]: try to move to flag Script requests save to: port1_just_removed Autosave: save requested : port1_just_removed Game: Writing Preload Data ... took 7ms Game: Writing Game Class Data ... took 0ms Game: Writing Player Info ... took 1ms Game: Writing Map Data! Writing Elemental Data ... took 0ms Writing Player Names And Tribe Data ... took 0ms Writing Port Spaces Data ... took 1ms Writing Heights Data ... took 0ms <snip> Writing Players Unseen Data ... took 4ms Writing Scripting Data ... took 8ms Writing Objective Data ... took 0ms MapSaver::save() took 36ms Game: Writing Map Data took 36ms Game: Writing Player Economies Info ... took 1ms Game: Writing Command Queue Data ... took 8ms Game: Writing Interactive Player Data ... took 0ms GameSaver::save() took 53ms SaveHandler::save_game() took 53ms Autosave: save took 62 ms MO(23,carrier): [gowarehouse]: Got transfer MO(23,carrier): [transfer]: starting task [movepath] and setting location to road 9 MO(1,ship): ship_update: No destination anymore. MO(1,ship): ship_update: No destination anymore. MO(1,ship): ship_update: No destination anymore. MO(1,ship): ship_update: No destination anymore. MO(1,ship): ship_update: No destination anymore. MO(1,ship): ship_update: No destination anymore. MO(1,ship): ship_update: No destination anymore. MO(1,ship): ship_update: No destination anymore. MO(1,ship): ship_update: No destination anymore. MO(1,ship): ship_update: No destination anymore. Looks like the carrier never reaches the warehouse in line 26 of the lua script, so the port isn't built again. -- https://code.launchpad.net/~widelands-dev/widelands/seafaring-ai/+merge/242271 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/seafaring-ai. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : widelands-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp