[RFC] Split tests and examples in KDE4

Alexander Neundorf neundorf at kde.org
Mon Oct 9 23:55:15 BST 2006


On Monday 09 October 2006 18:59, Matthias Kretz wrote:
> May commit this and work on the tests/examples split in Phonon as
> suggested?
>
> On Sunday 09 July 2006 12:16, Brad Hards wrote:
> > I'd like to propose that we split that code into /tests and /examples,
> > with separate options to enable each:
> >
> > $ svn diff cmake/modules/FindKDE4Internal.cmake
> > Index: cmake/modules/FindKDE4Internal.cmake
> > ===================================================================
> > --- cmake/modules/FindKDE4Internal.cmake        (revision 560068)
> > +++ cmake/modules/FindKDE4Internal.cmake        (working copy)
> > @@ -89,8 +89,9 @@
> >  #
> >  # The following user adjustable options are provided:
> >  #
> > -# KDE4_ENABLE_FINAL - enable KDE-style enable-final
> > all-in-one-compilation -# KDE4_BUILD_TESTS  - enable this to build the
> > testcases
> > +# KDE4_ENABLE_FINAL    - enable KDE-style enable-final
> > all-in-one-compilation +# KDE4_BUILD_TESTS     - enable this to build the
> > testcases
> > +# KDE4_BUILD_EXAMPLES  - enable this to build examples
> >  #
> >  # It also adds the following macros (from KDE4Macros.cmake)
> >  # KDE4_ADD_UI_FILES (SRCS_VAR file1.ui ... fileN.ui)
> > @@ -235,6 +236,7 @@
> >
> >  option(KDE4_ENABLE_FINAL "Enable final all-in-one compilation")
> >  option(KDE4_BUILD_TESTS  "Build the tests")
> > +option(KDE4_BUILD_EXAMPLES  "Build example applications")
> >  option(KDE4_IGNORE_DONTPORT "ignore the \"don't port\" message from
> > kdelibs (not snapshot)" OFF)

The way how tests are built may change in the not-to-distant future, i.e. it 
may become possible again to have a target to build and run just the tests.

Beside this, if you think it makes sense to be able to enable/disable examples 
and tests separately, feel free to commit.

I don't have a strong opinion on this.

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net




More information about the kde-core-devel mailing list