make test doesn't build tests

Ralf Habacker ralf.habacker at freenet.de
Sun Apr 15 23:01:30 CEST 2007


Thiago Macieira schrieb:
> Matt Rogers wrote:
>   
>> On Apr 15, 2007, at 2:52 PM, Andreas Pakulat wrote:
>>     
>>> Hi,
>>>
>>> using the kde4_add_test macro works pretty well, except that
>>> calling the
>>> test target doesn't build the tests. I talked to Thiago about this on
>>> IRC and he said that the problem could be that exclude_from_all also
>>> does exclude_from_tests which it shouldn't.
>>>
>>> Now before I submit a BR against CMake I'd like have some backup that
>>> this indeed is a problem in CMake.
>>>
>>> Andreas
>>>       
>> Is KDE4_BUILD_TESTS on?
>>     
>
> No, that's the point.
>
> If you run "make test" without that on, it simply fails without building 
> any testcase. Note that it fails, not that it simply doesn't know about 
> the test.
>   
Couldn't there printed any hint in that case in the build system when 
running make test ? It would help to find the reason faster :-)

Ralf



More information about the Kde-buildsystem mailing list