[Ohrrpgce] SVN: teeemcee/10051 scons: Attempt to fix mac builds due to --gc-sections being missing

James Paige Bob at hamsterrepublic.com
Tue Feb 20 11:30:54 PST 2018


The test cases on Mac started failing with revision 9497, but that is just:

r9497 | teeemcee | 2017-09-28 09:00:57 -0700 (Thu, 28 Sep 2017) | 2 lines
scons now automatically reimports scripts into autotest.rpg and
interactivetest.rpg

The failure goes all the way back to revision 8184 which is the revision
where this particular test was first added:

r8184 | teeemcee | 2016-10-30 07:13:24 -0700 (Sun, 30 Oct 2016) | 4 lines
autotest: add (failing) test for harm tiles when there are gaps in the
active party
Also add a test.rpg menu option to swap hero slots.

But it only seems to fail if autotest.hss was compiled on mac. If compiled
by by hspeak on linux, then the problem doesn't happen.

Could this be an hspeak bug?


On Tue, Feb 20, 2018 at 8:58 AM, James Paige <Bob at hamsterrepublic.com>
wrote:

> This does fix compiling on mac
>
> I do notice that scons test fails on mac, saying:
>
> ==> g_debug.txt <==
> ! TRACE: rank = 1, slot = 2, get hero stat(slot, stat:hp) = 9, start hp --
> harm amount = 10
> ! TRACE: ASSERT FAILURE:
> ! TRACE: autotest.hss:2260: get hero stat(slot, stat:hp) == start hp --
> harm amount [actual values were 9 == 10]
> ! TRACE: crash() called from newgame -> runtests1 -> triggertests ->
> harmtiletests -> testdamagepatterns -> asserthurtpattern -> considerrank ->
> assertfailure -> crash
> ! TRACE: in testsuite: assert hurt pattern, test no. 3
> ! _checkpoint ignored
> ...Quit the game.
>
> I'm going to go back and see if I can figure out when the failure started
>
>
> On Tue, Feb 20, 2018 at 7:54 AM, <subversion at hamsterrepublic.com> wrote:
>
>> teeemcee
>> 2018-02-20 07:54:42 -0800 (Tue, 20 Feb 2018)
>> 67
>> scons: Attempt to fix mac builds due to --gc-sections being missing
>> ---
>> U   wip/SConscript
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20180220/9d3a6241/attachment.html>


More information about the Ohrrpgce mailing list