[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#883800: libreoffice-common: Please re-enable the AppArmor profiles



On Thu, Dec 07, 2017 at 11:39:26PM +0100, Rene Engelhard wrote:
> > AppArmor policy. Now, runtime tests such as autopkgtests may be
> > affected; if needed I could take a look.
[...]
> Note e.g. the -Dorg.openoffice.test.arg.user. Similar (more like what
> was in the bug report in  the first place) for the C++ (Unit)tests which
> are not (yet) ran in autopkgtest.

>From my current 6.0.0 beta2 testbuild (yes, that is local):

[build CUT] sw_ooxmlexport4
S=/data/rene/git/LibreOffice/libreoffice-6-0 && I=$S/instdir &&
W=$S/workdir &&    mkdir -p $W/CppunitTest/ && rm -fr
$W/CppunitTest/sw_ooxmlexport4.test.user && cp -r $W/unittest
$W/CppunitTest/sw_ooxmlexport4.test.user &&    rm -fr
$W/CppunitTest/sw_ooxmlexport4.test.core && mkdir
$W/CppunitTest/sw_ooxmlexport4.test.core && cd
$W/CppunitTest/sw_ooxmlexport4.test.core && (
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program":$W/UnpackedTarball/cppunit/src/cppunit/.libs
MALLOC_CHECK_=2 MALLOC_PERTURB_=153
$W/LinkTarget/Executable/cppunittester
$W/LinkTarget/CppunitTest/libtest_sw_ooxmlexport4.so --headless
"-env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share"
"-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource"
"-env:UserInstallation=file://$W/CppunitTest/sw_ooxmlexport4.test.user"
[...]

Regards,
 
Rene


Reply to: