Hi Khaled,

On Wed, Feb 01, 2017 at 09:38:02AM +0200, Khaled Hosny <khaledho...@eglug.org> 
wrote:
> What the best way to detect, inside VCL, that a given CppunitTest is
> being run and do something conditionally? I basically want to detect if
> a given class of unit tests is run and disable all font searching and
> fallback and just use a hard-coded font name so that the tests are not
> affected by what fonts are available or not on the system (or that the
> theory).

At one place vcl code already checks for LO_TESTNAME.

(That may be a better option compared to the one in the comment of
<https://gerrit.libreoffice.org/#/c/33775>.)

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to