+2024-07-22 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Omit the logs of skipped tests from test-suite.log.
+ * gnulib-tool.sh (func_emit_tests_Makefile_am): Emit an assignment to
+ IGNORE_SKIPPED_LOGS.
+ * pygnulib/GLEmiter.py (GLEmiter.tests_Makefile_am): Likewise.
+
2024-07-21 Bruno Haible <bruno@clisp.org>
bootstrap: Avoid failure when gnulib-tool removed gettext.m4.
# EXEEXT is defined by AC_PROG_CC through autoconf.
# srcdir is defined by autoconf and automake.
echo "TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='\$(srcdir)'"
+ # Omit logs of skipped tests from test-suite.log, if Automake ≥ 1.17 is used.
+ echo "IGNORE_SKIPPED_LOGS = 1"
echo
cat "$tmp"/main_snippets "$tmp"/longrunning_snippets \
| sed -e 's|\$(top_srcdir)/build-aux/|$(top_srcdir)/'"$auxdir"'/|g'
# Many test scripts use ${EXEEXT} or ${srcdir}.
# EXEEXT is defined by AC_PROG_CC through autoconf.
# srcdir is defined by autoconf and automake.
- emit += "TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'\n\n"
+ emit += "TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'\n"
+ # Omit logs of skipped tests from test-suite.log, if Automake ≥ 1.17 is used.
+ emit += 'IGNORE_SKIPPED_LOGS = 1\n\n'
all_snippets = main_snippets + longrun_snippets
all_snippets = all_snippets.replace('$(top_srcdir)/build-aux/',
'$(top_srcdir)/%s/' % auxdir)