[cairo-commit] 2 commits - configure.ac

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Mar 25 15:50:46 UTC 2021


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c48ea2737c0b7a5c46ea3256b5516fe0d2be62a0
Merge: 5090dc3f4 57068e62a
Author: Uli Schlachter <psychon at znc.in>
Date:   Thu Mar 25 15:50:44 2021 +0000

    Merge branch 'serial-test-harness' into 'master'
    
    Use the serial automake test harness
    
    See merge request cairo/cairo!138

commit 57068e62a5b1bf1f45a0b05858d0b8fa95730c0b
Author: Uli Schlachter <psychon at znc.in>
Date:   Thu Mar 4 08:10:10 2021 +0100

    Use the serial automake test harness
    
    Once upon a time, automake had one way to run tests. Apparently this is
    (nowadays?) called the serial test harness. Then, in some release (I do
    not remember which one), the parallel test harness became the default.
    
    The parallel harness runs all tests in parallel, but does not (really)
    show the test output, but instead has output redirected to files. Sort
    of. I did not find the result of my printf() anywhere.
    
    The automake docs strongly discourage using the serial test harness [0],
    but do not really say why. For cairo, I do not see problems:
    
    We have some quick, small checks (e.g. is cairo_public used where needed
    in the public headers). And then there is the big, heavy-weight test
    suite (cairo-test-suite). Thus, running these things in parallel has
    basically no benefits.
    
    Additionally, cairo-test-suite takes really, really long. Not seeing any
    output while it is running is annoying. Failing to find the output even
    in files is bad.
    
    Thus, since I do not see any benefits and only downsides to the parallel
    test harness, this commit switches to the serial one.
    
    [0]: https://www.gnu.org/software/automake/manual/html_node/Serial-Test-Harness.html
    
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/configure.ac b/configure.ac
index 6444a3da3..c4373c3e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@ AC_CONFIG_HEADERS(config.h)
 AC_CHECK_HEADERS([unistd.h sys/ioctl.h])
 AC_C_TYPEOF
 
-AM_INIT_AUTOMAKE([1.11 foreign -Wall no-define no-dist-gzip dist-xz])
+AM_INIT_AUTOMAKE([1.11 foreign -Wall no-define no-dist-gzip dist-xz serial-tests])
 AM_SILENT_RULES([yes])
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) dnl Workaround for Automake 1.12
 


More information about the cairo-commit mailing list