building and running tests - new target "buildtests"

Alexander Neundorf neundorf at kde.org
Sun Aug 5 22:25:39 BST 2007


On Sunday 05 August 2007 08:08, Jos van den Oever wrote:
> 2007/8/5, Alexander Neundorf <neundorf at kde.org>:
> > 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?

No, it executes the tests.
(the tests can be anything, they don't have to be executables build by this 
project)

Alex




More information about the kde-core-devel mailing list