make test doesn't build tests

Thiago Macieira thiago at kde.org
Sun Apr 15 22:24:36 CEST 2007


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.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070415/bdc5e0b2/attachment.pgp 


More information about the Kde-buildsystem mailing list