widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #03909
Re: regresion tests - loading a game
-
To:
widelands-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Fòram na Gàidhlig <fios@xxxxxxxxxxxxxxxxxxx>
-
Date:
Sat, 18 Apr 2015 09:55:44 +0100
-
In-reply-to:
<CAGCtC0Dqgqfqqs0T=dgAK4=K-FHne6=VsrAz3J+jZg7T=MqgaQ@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It caught a savegeme bug that I had created, so I expect that it is
loaded from "scratch".
Sgrìobh Tibor Bamhor na leanas 17/04/2015 aig 21:40:
> I am not sure if it works as expected. I would expect a problem,
> but loading goes fine. Is game loaded from "scratch"? I am trying
> to mimic behaviour of bug "savefile broken when enemy deafed" /
> 1428396 - but that loading goes fine also without my fix....
>
> I have to think about it....
>
> 2015-04-17 22:25 GMT+02:00 Fòram na Gàidhlig
> <fios@xxxxxxxxxxxxxxxxxxx <mailto:fios@xxxxxxxxxxxxxxxxxxx>>:
>
> If you call stable_save("save_name") in a Lua test, the game is
> saved and immediately loaded again. So it will work if you put it
> all in 1 script. Is this enough for what you need?
>
>
>
> Sgrìobh Tibor Bamhor na leanas 17/04/2015 aig 20:42:
>> Hi,
>
>
>> our regression tests does not support loading of games just
>> saved within a regression test, am I right?
>
>> I would like to have 2 *.lua scripts, One would create a
>> savegame file, The other one would load it and did some
>> verifications - this is my idea...
>
>> Tibor
>
>
>
>> _______________________________________________ Mailing list:
>> https://launchpad.net/~widelands-dev Post to :
>> widelands-dev@xxxxxxxxxxxxxxxxxxx
> <mailto:widelands-dev@xxxxxxxxxxxxxxxxxxx> Unsubscribe :
>> https://launchpad.net/~widelands-dev More help :
>> https://help.launchpad.net/ListHelp
>
>
>
>> E-Mail ist virenfrei. Von AVG überprüft - www.avg.de
> <http://www.avg.de>
>> <http://www.avg.de> Version: 2015.0.5863 / Virendatenbank:
>> 4331/9559 - Ausgabedatum: 17.04.2015
>
>
> _______________________________________________ Mailing list:
> https://launchpad.net/~widelands-dev Post to :
> widelands-dev@xxxxxxxxxxxxxxxxxxx
> <mailto:widelands-dev@xxxxxxxxxxxxxxxxxxx> Unsubscribe :
> https://launchpad.net/~widelands-dev More help :
> https://help.launchpad.net/ListHelp
>
>
> E-Mail ist virenfrei. Von AVG überprüft - www.avg.de
> <http://www.avg.de> Version: 2015.0.5863 / Virendatenbank:
> 4331/9559 - Ausgabedatum: 17.04.2015
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)
iQIcBAEBAgAGBQJVMhwQAAoJEFBz9PVwa++T4H4QAM5rU7/+ZyeJS/KMhlLFYXct
6K47RDDTarfb/EP8RlbiwB8hRPN/HFFHpvAYdTih6BAeIsc5qGjNyFXnoxvpGaWR
3RDWERI4yS1ltB5mIkL8RHWCPwBFx7X96Vbd9kArTW/xt0Ytil6o7HPoAXlH5qtT
7gj62YBqaARUd82ud/uY2tw75P5onPBZsEZxYM942moTu5Ciav13r/7t+rI/Ya02
IiPbp5/rsNNWa/QWd+L9ZUopUvKeSmK5kEUdwC5wcoEvB9gNFngXv1qL+jsZ5TNi
rdchlGKN9I/PVmHyLmMKoH0qF1wfbKAqnbarJguZTNdFJR3YOiB1MWSXpuFbs2BJ
GnKeczbEiNqRuHFyftJYujHw0WckoWs1QWDDH8SKoKuj279IhAV+JOK36T5rJJ5v
BRA1zJO0lyJ+qv0ERQYr9jnXzC0xCVek/fwwmhUMauf1r9TCnRr4FwxosfgC7oIg
rPFDj7KPN9v47NkXalTJFf/RoQQgoXWNGoYBZo9Sg1B/vHTeFcmXwMy0lqykcQud
qbiclE8nQoiKeNFuu/jFIyE57g42i4MpXUOpHFShsvl8jXexlBka1uM4HdR4vvL6
5ic5Ql4vn+ZQT5KdKNgBkW4dTZYG+si7PRu6M7bYyG4xN4S+F4fK6CgmjIRNJ4u1
HKmAQdIz6voo5bB1fOuI
=9Fy2
-----END PGP SIGNATURE-----
Follow ups
References