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

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.

fcxSanya spotted the test error earlier today and posted about it on the staff forums here. Maybe that info will help whoever on the team works on fixing it.

Link to comment
Share on other sites

fcxSanya spotted the test error earlier today and posted about it on the staff forums here. Maybe that info will help whoever on the team works on fixing it.

Ah, forgot about that one. He went back and forth between a lot of things and I got lost ;) Let's hope the programmers will work it out.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...