add_test vs. ecm_add_test

Alex Merry alex.merry at kde.org
Thu May 8 10:12:51 UTC 2014


On 04/05/14 19:17, Saro Engels wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi everybody,
> 
> I just need to modify quite a lot of code locations anyway to make the
> tests run correctly on windows, so I want to ask in advance:
> 
> I have found the ecm_add_test macro, but for some packages I have
> looked at it is not used. So the question is whether we want to ensure
> that it is used everywhere, whether we want to keep an undecided setup
> (whoever uses it, uses it) or whether we do not want to use it.
> 
> My personal opinion is probably keep it like it is or remove
> ecm_add_test but I'd like to have some more opinions about that first.

Looking at how
http://commits.kde.org/kcoreaddons/8be261530d13ad8fbdcce42569deab4118d3d215
has made the KCoreAddons autotests file easier to read (and apparently
makes it work on Windows), I'm inclined to say we should start making
more use of ecm_add_tests.

Alex



More information about the Kde-buildsystem mailing list