← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/bug-1675179-lua-economy into lp:widelands

 

Why do you think that?

It is definitely executed when I run

    ./widelands --scenario=test/maps/lua_testsuite.wmf --datadir_for_testing=.

because it blew up in my face quite a few times until I fixed everything up. And it's registered in the same init.lua that ./regression_test.py will run.

>From Travis:

    test/maps/lua_testsuite.wmf/scripting/test_lua_in_game.lua ... 
      Running Widelands ... done.
    ok

If you want to make sure that it's run, add a nonsense assert to make it fail. I just did that and it definitely fails then, so it is run.
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1675179-lua-economy/+merge/321008
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1675179-lua-economy into lp:widelands.


References