Jump to content

Test reports error after rebuilding from svn [SOLVED]


Almin
 Share

Recommended Posts

I'm using Arch GNU/Linux and didn't rebuild 0 A.D. for a while, but today I had the time to do so. After rebuilding the test reports an error that never occurred before.


Linking test
Running 255 tests....................................................................................ERROR: JavaScript error: simulation/components/UnitAI.js line 1750
ReferenceError: IID_ResourceSupply is not defined
(20)@simulation/components/UnitAI.js:1750
(20)@simulation/components/UnitAI.js:2497
([object Array])@simulation/components/UnitAI.js:2067
([object Array])@simulation/components/UnitAI.js:2106
()@simulation/components/UnitAI.js:2428
()@simulation/components/UnitAI.js:547
([object Object],"INDIVIDUAL.IDLE")@simulation/helpers/FSM.js:341
([object Object],[object Object])@simulation/helpers/FSM.js:261
(0)@simulation/components/UnitAI.js:2182
()@simulation/components/Formation.js:88
TestFormationExiting(1)@simulation/components/tests/test_UnitAI.js:129
()@simulation/components/tests/test_UnitAI.js:142

In TestComponentScripts::test_scripts:
../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:44: Error: Test failed: L"Running script simulation/components/tests/test_UnitAI.js"
../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:44: Error: Assertion failed: scriptInterface.LoadScript(pathname, wcontent)
..........................................................................................................................................................................
Failed 1 of 255 tests
Success rate: 99%

Could you please tell me whether I did something wrong? If so, what am I supposed to do to fix that problem?

greetings

Almin

Edited by Almin
Link to comment
Share on other sites

I'm using Arch GNU/Linux and didn't rebuild 0 A.D. for a while, but today I had the time to do so. After rebuilding the test reports an error that never occurred before.


Linking test
Running 255 tests....................................................................................ERROR: JavaScript error: simulation/components/UnitAI.js line 1750
ReferenceError: IID_ResourceSupply is not defined
(20)@simulation/components/UnitAI.js:1750
(20)@simulation/components/UnitAI.js:2497
([object Array])@simulation/components/UnitAI.js:2067
([object Array])@simulation/components/UnitAI.js:2106
()@simulation/components/UnitAI.js:2428
()@simulation/components/UnitAI.js:547
([object Object],"INDIVIDUAL.IDLE")@simulation/helpers/FSM.js:341
([object Object],[object Object])@simulation/helpers/FSM.js:261
(0)@simulation/components/UnitAI.js:2182
()@simulation/components/Formation.js:88
TestFormationExiting(1)@simulation/components/tests/test_UnitAI.js:129
()@simulation/components/tests/test_UnitAI.js:142

In TestComponentScripts::test_scripts:
../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:44: Error: Test failed: L"Running script simulation/components/tests/test_UnitAI.js"
../../../source/pch/test/../../../source/simulation2/components/tests/test_scripts.h:44: Error: Assertion failed: scriptInterface.LoadScript(pathname, wcontent)
..........................................................................................................................................................................
Failed 1 of 255 tests
Success rate: 99%

Could you please tell me whether I did something wrong? If so, what am I supposed to do to fix that problem?

greetings

Almin

I would guess that it's just one of the new code changes that haven't been added to the tests. So hopefully isn't something to be worried about.

Link to comment
Share on other sites


Linking test
Running 255 tests.............................................................
..............................................................................
..............................................................................
......................................OK!

...nice one!!! :victory: Thanks!

[sOLVED]

Edited by Almin
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...