https://bugs.kde.org/show_bug.cgi?id=331529
Bug ID: 331529 Summary: Please build and install akonaditest even if tests for kdepimlibs aren't Classification: Unclassified Product: kdepimlibs Version: 4.12.2 Platform: Debian unstable OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: kdepim-bugs@kde.org Reporter: m...@debian.org Hi, Packaging 4.12.2 for Debian we encountered that other packages tests use akonaditest and the knut resource (akonadi-xml) library, but it's not built for our packages building process (as it requires -DKDE4_BUILD_TESTS=true, which adds a lot of exported symbols to the libraries which are not part of the abi). So, currently the akonaditest binary is generated by the akonadi/tests/testrunner subdirectory, so, simply adding it to the base CMakefile does the trick. Adding the knut resource was a lot hackgly, and we ended up copy pasting a part of the akonadi/tests/CMakeLists.txt and a part of akonadi/kmime/CMakeLists.txt into akonadi/tests/testresource/CMakeLists.txt. I'm attaching the patches that we used in the Debian packages, these might be improved adding an option to install knut resource and akonaditest. Reproducible: Always -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs