Using 'make check' will (with newish automake) run the tests in parallel. This has several consequences:
- The tests run faster overall (measured: 20 mins -> 14 mins) - Failure output is written to a file, not displayed, requiring changes to autobuilders. - Tests must be modified so they do not overwrite each others files. --- .gitignore | 2 ++ configure.ac | 18 +----------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 1b9ce89..82d6367 100644 --- a/.gitignore +++ b/.gitignore @@ -13,11 +13,13 @@ *.jar *.la *.lo +*.log *.o *.orig *.patch *.rej *.swp +*.trs bindtests.tmp cscope.out diff --git a/configure.ac b/configure.ac index 358025f..98b7642 100644 --- a/configure.ac +++ b/configure.ac @@ -31,23 +31,7 @@ m4_define([libguestfs_release], [13]) AC_INIT([libguestfs],libguestfs_major.libguestfs_minor.libguestfs_release) AC_CONFIG_AUX_DIR([build-aux]) -dnl Initialize automake. automake < 1.12 didn't have serial-tests and -dnl gives an error if it sees this, but for automake >= 1.13 -dnl serial-tests is required so we have to include it. Solution is to -dnl test for the version of automake (by running an external command) -dnl and provide it if necessary. Note we have to do this entirely using -dnl m4 macros since automake queries this macro by running -dnl 'autoconf --trace'. -m4_define([serial_tests], [ - m4_esyscmd([automake --version | head -1 | awk ' - { - split ($NF, version, "."); - if (version[1] == 1 && version[2] >= 12) - print "serial-tests"; - }' - ]) -]) -AM_INIT_AUTOMAKE(foreign serial_tests) dnl NB: Do not [quote] this parameter. +AM_INIT_AUTOMAKE(foreign) dnl NB: Do not [quote] this parameter. m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) AM_SILENT_RULES([yes]) # make --enable-silent-rules the default. -- 1.9.0 _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://www.redhat.com/mailman/listinfo/libguestfs