Rules for (auto)tests execution
Kevin Ottens
ervin at kde.org
Sat Jul 26 15:58:30 UTC 2014
Hello,
On Saturday 26 July 2014 16:32:43 Luigi Toscano wrote:
> are autotests - and the corresponding tests in kdelibs4 world - always run
> against a valid installation (aka: make test always after make install), or
> should they work after a simple make?
Ideally they should work after a simple make. For historical reasons we're far
from that everywhere though...
> If not, I have a test which needs a proper QStandardPaths setting, so that
> it works when it's installed, but otherwise it needs to change the value
> XDG_DATA_DIR before/after the execution of the test.
> I've seen mentions of SET_TESTS_PROPERTIES and CTEST_ENVIRONMENT, but
> lxr.kde.org does not show many usages. Is there an example or a guidelines
> for this that I missed?
I don't think we have a guideline or example for that yet. Definitely
something to document as soon has someone devised a proper solution.
Regards.
--
Kévin Ottens, http://ervin.ipsquad.net
KDAB - proud supporter of KDE, http://www.kdab.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140726/9533ec74/attachment.sig>
More information about the Kde-frameworks-devel
mailing list