[cairo] disable building of the test suite

Knut Petersen knupero at gmail.com
Fri Jul 30 13:28:04 UTC 2021


Hi everybody!

While crossbuilding cairo for some platforms I searched fo a way to disable building the cairo test suite. The test suite simply does not make too much sense if you build a small installer for one program. This is especially true since some months ago the test suite introduced a new library 
dependency with the use of memmem().

Did I miss something or is a patch like the one below really the only way to disable building of the test suite?

    diff --git a/Makefile.am b/Makefile.am
    index 1b7c59bf0..60c8fdd75 100644
    --- a/Makefile.am
    +++ b/Makefile.am
    @@ -19,9 +19,9 @@ ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS}
      DIST_SUBDIRS = src doc util boilerplate test perf
      SUBDIRS = src doc util
      # libpng is required for our test programs
    -if CAIRO_HAS_PNG_FUNCTIONS
    -SUBDIRS += boilerplate test perf
    -endif
    +#if CAIRO_HAS_PNG_FUNCTIONS
    +#SUBDIRS += boilerplate test perf
    +#endif

      doc:
             cd doc && $(MAKE) $(AM_MAKEFLAGS) $@

Knut

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20210730/c5e9af06/attachment.htm>


More information about the cairo mailing list