Ever since I found that this test is working I have been having to change that one line in the test although TrotiosHG makes it easy to keep the change even though it is not committed (shelve changes) any time I create a new local repository I have to go in and edit that one file so that the test dose not fail building in visual studio as the test when building treats warnings as errors and thus fails to even build.
From: opensource-dev-boun...@lists.secondlife.com [mailto:opensource-dev-boun...@lists.secondlife.com] On Behalf Of Robin Cornelius Sent: Tuesday, December 28, 2010 9:45 AM To: Boroondas Gupte Cc: opensource-dev@lists.secondlife.com Subject: Re: [opensource-dev] LLMatrix3::orthogonalize test (was: LL_TESTS for standalone out-of-source builds) On Wed, Oct 13, 2010 at 12:37 PM, Boroondas Gupte <slli...@boroon.dasgupta.ch> wrote: > On 10/13/2010 03:42 AM, WolfPup Lowenhar wrote: > > On the subject of the reason for killing test here is another reason that I > have attached this is from a full build I did today. The error listed in the > file is actually coded around and in visual studio you have to set that test > to not treat warnings as errors so that it will not fail! > > I tried removing the skip line to re-enable the test, like so: > > diff -r 27535365bd4c indra/llmath/tests/m3math_test.cpp > --- a/indra/llmath/tests/m3math_test.cpp Fri Oct 08 01:13:23 2010 +0200 > +++ b/indra/llmath/tests/m3math_test.cpp Wed Oct 13 13:16:30 2010 +0200 > @@ -280,7 +280,6 @@ > llmat_obj.setRows(llvec1, llvec2, llvec3); > llmat_obj.orthogonalize(); > > - skip("Grr, LLMatrix3::orthogonalize test is failing. Has it ever > worked?"); > ensure("LLMatrix3::orthogonalize failed ", > is_approx_equal(0.19611613f, llmat_obj.mMatrix[0][0]) && > is_approx_equal(0.78446454f, llmat_obj.mMatrix[0][1]) && > > On my system that test seems to work fine after that: > > LD_LIBRARY_PATH += ['/home/das-g/slsrc/hg/build/build/llcommon', '/usr/lib', > '/usr/local/lib'] > LD_LIBRARY_PATH = > '/usr/local/lib:/home/das-g/slsrc/hg/build/build/llcommon:/usr/lib' > Running: /home/das-g/slsrc/hg/build/build/llmath/INTEGRATION_TEST_m3math > Unit test group_started name=m3math_h > Unit test group_completed name=m3math_h > Total Tests: 13 > Passed Tests: 13 YAY!! \o/ > > Maybe someone has fixed LLMatrix3::orthogonalize but forgot to re-enable the > test? Or is LLMatrix3::orthogonalize behaving differently on different > platforms? (That should affect quaternion calculations and auto-leveling in > Flycam mode, so it's unlikely to go unnoticed.) > > Anyway, would be good if others could re-enable the test, too, and see > whether it also passes for them. Bumping this as i've just looked at it myself, the test is working fine on windows for me too and it does not appear that it needs skipping and as noticed previously in this (old) thread that the skip() is causing a unreachable code error in the test. So any reason why the test cannot be reenabled? Robin _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges _____ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1191 / Virus Database: 1435/3344 - Release Date: 12/28/10
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges