From bae41ea0f3a80b95a86023262768ac698781cdbe Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 31 Mar 2024 23:48:59 +0200 Subject: [PATCH] gnulib-tool-tests: Ignore some more generated files. --- gnulib-tool-tests/init.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/gnulib-tool-tests/init.sh b/gnulib-tool-tests/init.sh index 9ed097dc..f4acf9bd 100644 --- a/gnulib-tool-tests/init.sh +++ b/gnulib-tool-tests/init.sh @@ -97,8 +97,16 @@ do_create_test () sed -e '/^checking for/,/^rm -f config.status/d' -e '/^rm -f Makefile/d' < $tmp-out~ > $tmp-out rm -f $tmp-out~ expected_result=${0%.sh}.result - # Exclude files whose contents depends on the GNU Autoconf version, GNU Automake version, or file time stamps. - if LC_ALL=C diff -r -q --exclude=aclocal.m4 --exclude=configure --exclude=config.h.in --exclude=Makefile.in --exclude=compile --exclude=depcomp --exclude=missing --exclude=test-driver --exclude=do-autobuild $expected_result $tmp-result; then + # Exclude files whose contents depends on the GNU Autoconf version, + # GNU Automake version, GNU gperf version, GNU bison version, or + # file time stamps. + if LC_ALL=C diff -r -q \ + --exclude=aclocal.m4 --exclude=configure --exclude=config.h.in \ + --exclude=Makefile.in --exclude=compile --exclude=depcomp --exclude=missing --exclude=test-driver \ + --exclude='iconv_open-*.h' --exclude=locale-languages.h --exclude=special-casing-table.h --exclude='*_byname.h' --exclude=composition-table.h \ + --exclude=parse-datetime-gen.h --exclude=parse-datetime.c \ + --exclude=do-autobuild \ + $expected_result $tmp-result; then : else echo "FAIL: gnulib-tool's result has unexpected differences." >&2 -- 2.39.5