From: Bruno Haible Date: Fri, 19 Jul 2024 03:37:47 +0000 (+0200) Subject: Declare expected test failures on native Windows. X-Git-Tag: v0.23~239 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac65ad598152a8d31e014d340cfc40e4e4ea5f24;p=thirdparty%2Fgettext.git Declare expected test failures on native Windows. * autogen.sh (GNULIB_MODULES_TOOLS_TESTS): Add test-xfail. * gettext-tools/tests/Makefile.am (XFAIL_TESTS): New variable. --- diff --git a/autogen.sh b/autogen.sh index 9d9ce422d..82e43299b 100755 --- a/autogen.sh +++ b/autogen.sh @@ -427,6 +427,7 @@ if ! $skip_gnulib; then --import --avoid=progname $GNULIB_MODULES_LIBGETTEXTPO $GNULIB_MODULES_LIBGETTEXTPO_OTHER || exit $? # In gettext-tools/tests: GNULIB_MODULES_TOOLS_TESTS=' + test-xfail thread ' $GNULIB_TOOL --dir=gettext-tools --macro-prefix=gttgl --lib=libtestsgnu --source-base=tests/gnulib-lib --m4-base=tests/gnulib-m4 --makefile-name=Makefile.gnulib --local-dir=gnulib-local --local-symlink \ diff --git a/gettext-tools/tests/Makefile.am b/gettext-tools/tests/Makefile.am index d5dd1131a..004d91447 100644 --- a/gettext-tools/tests/Makefile.am +++ b/gettext-tools/tests/Makefile.am @@ -1,5 +1,5 @@ ## Makefile for the gettext-tools/tests subdirectory of GNU gettext -## Copyright (C) 1995-1997, 2001-2010, 2012-2016, 2018-2023 Free Software Foundation, Inc. +## Copyright (C) 1995-2024 Free Software Foundation, Inc. ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -223,6 +223,18 @@ TESTS = gettext-1 gettext-2 \ lang-rst \ autopoint-1 autopoint-2 autopoint-3 cldr-plurals-1 +# Expected test failures. +XFAIL_TESTS = +if OS_IS_NATIVE_WINDOWS +# Tests that rely on shell scripts. +XFAIL_TESTS += \ + msgexec-1 msgexec-3 msgexec-4 msgexec-5 msgexec-6 \ + msgfilter-6 msgfilter-7 +# Functionality that relies on shell scripts. +XFAIL_TESTS += \ + msginit-3 +endif + EXTRA_DIST += init.sh init.cfg $(TESTS) \ test.mo overflow-1.mo overflow-2.mo overflow-3.mo overflow-4.mo \ overflow-5.mo overflow-6.mo overflow-7.mo sysdep-without-nul.mo \