Almin Posted December 19, 2011 Report Share Posted December 19, 2011 (edited) 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 testRunning 255 tests....................................................................................ERROR: JavaScript error: simulation/components/UnitAI.js line 1750ReferenceError: 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:142In 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 testsSuccess rate: 99%Could you please tell me whether I did something wrong? If so, what am I supposed to do to fix that problem?greetingsAlmin Edited December 20, 2011 by Almin Quote Link to comment Share on other sites More sharing options...
feneur Posted December 19, 2011 Report Share Posted December 19, 2011 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 testRunning 255 tests....................................................................................ERROR: JavaScript error: simulation/components/UnitAI.js line 1750ReferenceError: 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:142In 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 testsSuccess rate: 99%Could you please tell me whether I did something wrong? If so, what am I supposed to do to fix that problem?greetingsAlminI 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. Quote Link to comment Share on other sites More sharing options...
Almin Posted December 19, 2011 Author Report Share Posted December 19, 2011 Thanks for the fast reply, feneur! Btw, I just started the game and it seemed to run without any problems. But I also haven't tested it for longer than 15 minutes. Quote Link to comment Share on other sites More sharing options...
Pureon Posted December 19, 2011 Report Share Posted December 19, 2011 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. Quote Link to comment Share on other sites More sharing options...
feneur Posted December 19, 2011 Report Share Posted December 19, 2011 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. Quote Link to comment Share on other sites More sharing options...
historic_bruno Posted December 19, 2011 Report Share Posted December 19, 2011 Should be fixed in r10775, thanks Quote Link to comment Share on other sites More sharing options...
Almin Posted December 20, 2011 Author Report Share Posted December 20, 2011 (edited) Linking testRunning 255 tests...............................................................................................................................................................................................................................................................OK!...nice one!!! Thanks![sOLVED] Edited December 20, 2011 by Almin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.