mirror of
https://https.git.savannah.gnu.org/git/gettext.git
synced 2026-01-27 01:44:30 +00:00
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.
This commit is contained in:
parent
680fb23c1c
commit
ac65ad5981
@ -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 \
|
||||
|
||||
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user