building and running tests - new target "buildtests"

Jos van den Oever jvdoever at
Sun Aug 5 13:08:28 BST 2007

2007/8/5, Alexander Neundorf <neundorf at>:
> if you don't have KDE4_ENABLE_TESTS enabled, the tests in KDE4 are not built
> by default. So "make test" can't find the executables, i.e. you have to build
> them manually before ("make klocaletest" etc.)
> I just committed a change to KDE4Macros.cmake so that now there is a new
> target "buildtests" which should build all tests in the current and all its
> subdirs.
> So you should now be able to do "make buildtests test" and have all tests
> built and executed.
> If you find problems with this let me know.

does 'make test' build the tests?

More information about the kde-core-devel mailing list