Review Request 112828: Provide ecm_add_unit_test() and ecm_add_multiple_unit_tests()

Alexander Neundorf neundorf at kde.org
Mon Sep 23 19:24:37 UTC 2013



> On Sept. 23, 2013, 10:49 a.m., Kevin Ottens wrote:
> > modules/ECMAddUnitTest.cmake, line 23
> > <http://git.reviewboard.kde.org/r/112828/diff/2/?file=190650#file190650line23>
> >
> >     I agree, it's about "automated" (vs "manual") tests here. We've no way when writing this macro to know if the user will make an automated unit test or integration test or...

As I said, in cmake, a not-automated test is not a test. I.e. in cmake a test is created via add_test(). This implies that it can be automatically executed. Anything else is not a test in cmake.

How about ecm_add_tests()  ?


- Alexander


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112828/#review40523
-----------------------------------------------------------


On Sept. 19, 2013, 3:57 p.m., Alexander Richardson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/112828/
> -----------------------------------------------------------
> 
> (Updated Sept. 19, 2013, 3:57 p.m.)
> 
> 
> Review request for Extra Cmake Modules and KDE Frameworks.
> 
> 
> Description
> -------
> 
> Add a new functions to add unit tests
> 
> Every framework in KF5 has a macro similar to these, this reduces
> the unnecessary duplication inside all of the frameworks
> 
> 
> Diffs
> -----
> 
>   modules/ECMAddUnitTest.cmake PRE-CREATION 
> 
> Diff: http://git.reviewboard.kde.org/r/112828/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alexander Richardson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130923/3d29dc8d/attachment.html>


More information about the Kde-frameworks-devel mailing list