[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: RFC: Library unit testing and symbol visibility
From: Thiago Macieira <thiago () kde ! org>
Date: 2023-07-24 5:08:24
Message-ID: 2176396.C4sosBPzcN () tjmaciei-mobl5
[Download RAW message or body]
On Sunday, 23 July 2023 07:16:05 PDT Stefan Brüns wrote:
> 3. ?
>
> Kind regards,
Qt's solution is that it builds in a "build for testing" mode (it defines the
QT_BUILD_INTERNAL macro, for historical reasons meaning "internal to
Trolltech") in which extra symbols are exported using the Q_AUTOTEST_EXPORT
macro. This allows developers and CI systems to enable the extra API without
needing to affect users.
The CI also tests non-"internal build" builds, so the tests must check whether
they are in that mode before using a autotest-exported symbol.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel DCAI Cloud Engineering
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic