summaryrefslogtreecommitdiff
path: root/modules/uniconv/u8-strconv-from-enc-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-02-24 15:21:11 +0100
committerBruno Haible <bruno@clisp.org>2018-02-24 15:21:11 +0100
commit4ce7971770b49e84447e680c823a769240286978 (patch)
tree569303b9d9c8e8a63b9a15db54254116d0521f2f /modules/uniconv/u8-strconv-from-enc-tests
parentddd23eb80039b54284e18cba299a5764f1b65bc6 (diff)
downloadgnulib-4ce7971770b49e84447e680c823a769240286978.tar.gz
striconveha, uniconv/*: Avoid test failures on musl libc.
* tests/iconvsupport.c: New file. * tests/test-striconveha.c (main): Skip autodetect_jp tests if iconv() does not support the ISO-2022-JP-2 encoding. * tests/uniconv/test-u8-conv-from-enc.c (main): Likewise. * tests/uniconv/test-u8-strconv-from-enc.c (main): Likewise. * tests/uniconv/test-u16-conv-from-enc.c (main): Likewise. * tests/uniconv/test-u16-strconv-from-enc.c (main): Likewise. * tests/uniconv/test-u32-conv-from-enc.c (main): Likewise. * tests/uniconv/test-u32-strconv-from-enc.c (main): Likewise. * modules/striconveha-tests (Files): Add tests/iconvsupport.c. (Makefile.am): Link test-striconveha with iconvsupport.o. * modules/uniconv/u8-conv-from-enc-tests (Files): Add tests/iconvsupport.c. (Makefile.am): Link test-u8-conv-from-enc with iconvsupport.o. * modules/uniconv/u8-strconv-from-enc-tests (Files): Add tests/iconvsupport.c. (Makefile.am): Link test-u8-strconv-from-enc with iconvsupport.o. * modules/uniconv/u16-conv-from-enc-tests (Files): Add tests/iconvsupport.c. (Makefile.am): Link test-u16-conv-from-enc with iconvsupport.o. * modules/uniconv/u16-strconv-from-enc-tests (Files): Add tests/iconvsupport.c. (Makefile.am): Link test-u16-strconv-from-enc with iconvsupport.o. * modules/uniconv/u32-conv-from-enc-tests (Files): Add tests/iconvsupport.c. (Makefile.am): Link test-u32-conv-from-enc with iconvsupport.o. * modules/uniconv/u32-strconv-from-enc-tests (Files): Add tests/iconvsupport.c. (Makefile.am): Link test-u32-strconv-from-enc with iconvsupport.o.
Diffstat (limited to 'modules/uniconv/u8-strconv-from-enc-tests')
-rw-r--r--modules/uniconv/u8-strconv-from-enc-tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/uniconv/u8-strconv-from-enc-tests b/modules/uniconv/u8-strconv-from-enc-tests
index e18f6a5187..2c73b07db0 100644
--- a/modules/uniconv/u8-strconv-from-enc-tests
+++ b/modules/uniconv/u8-strconv-from-enc-tests
@@ -1,5 +1,6 @@
Files:
tests/uniconv/test-u8-strconv-from-enc.c
+tests/iconvsupport.c
tests/macros.h
Depends-on:
@@ -10,6 +11,6 @@ configure.ac:
Makefile.am:
TESTS += test-u8-strconv-from-enc
check_PROGRAMS += test-u8-strconv-from-enc
-test_u8_strconv_from_enc_SOURCES = uniconv/test-u8-strconv-from-enc.c
+test_u8_strconv_from_enc_SOURCES = uniconv/test-u8-strconv-from-enc.c iconvsupport.c
test_u8_strconv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@