Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Sat, 2011-04-02 at 20:40 +0200, Christina Roßmanith wrote:
Hi,

is anybody else having trouble to compile osl_old_test_file.cxx? I have 
to comment out lines 133 and 263, then everything is fine:

133: CPPUNIT_ASSERT_MESSAGE("failure #1.1",  target.equalsAscii( 
aSource1[i+1] ) );
263: CPPUNIT_ASSERT_MESSAGE("failure #10.1",  target.equalsAscii( 
aSource1[i+1] ) );

echo $SAL_ALLOW_LINKOO_SYMLINKS

if its 1, the test fails, seeing as normally...
osl_getAbsoluteFileUrl("file:///foo", "a/..", output); gives
file:///foo
but with the above set it gives...
file:///foo/a/..

the SAL_ALLOW_LINKOO_SYMLINKS is set by the ooenv hack, so if you make
dev-install and then source that ooenv manually then the env is
compromised for future runs.

Fixed now by clearing this env value in the test itself, I had seen this
before and it baffled me, glad to get to the bottom of it now :-)

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.