<p dir="ltr"><br>
On Jul 21, 2013 6:58 PM, "Thorsten Behrens" <<a href="mailto:thb@documentfoundation.org">thb@documentfoundation.org</a>> wrote:<br>
><br>
> Vishv Brahmbhatt wrote:<br>
> > Actually I did make right entry in the makefile('test/Package_unittest.mk')<br>
> > and also added a test-profile at appropriate<br>
> > location('test/user-template/user/config/soffice.cfg/simpress/layoutlist.xml').But<br>
> > this commit<<a href="http://cgit.freedesktop.org/libreoffice/core/commit/?h=feature/gsoc-impresslayout&id=a837a7c573c5f35fbcf7b9375725282496b0f4c9">http://cgit.freedesktop.org/libreoffice/core/commit/?h=feature/gsoc-impresslayout&id=a837a7c573c5f35fbcf7b9375725282496b0f4c9</a>><br>

> > had<br>
> > only partially solved the problem(for the unit-test). Because as per my<br>
> > discussion with Thorsten,it seems that there is some problem with how<br>
> > "brandbasedir"(i.e vnd.sun.star.expand:$BRAND_BASE_DIR) is expanded for the<br>
> > "*unit-test*".<br>
> ><br>
> Seems this whole test/user-template/user/config/soffice.cfg thing has<br>
> bitrotted - I presume it can go entirely, can you try & do a fresh<br>
> build for double-checking?</p>
<p dir="ltr">I'm not aware of that. Normally we need this config for all tests that need a user profile and run during the build. It might be unnecessary nowadays but then I'm unaware oft these changes. </p>
<p dir="ltr">The corresponding entry in the makefiles is the use_configuration part which should be defined in the CppunitTest.Mk<br></p>
<p dir="ltr">><br>
> Instead, the impress xml config would need to go to<br>
> solver/<platform>/unittest/install/share/... , just like in the<br>
> regular install.<br>
></p>
<p dir="ltr">Normally the test profile is copied during the build to this directory. At least that is what I implemented back then but I have no computer here to check that it is still true.</p>
<p dir="ltr">Regards,<br>
Markus</p>