diff options
author | Bruno Haible <bruno@clisp.org> | 2018-02-24 15:21:11 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-02-24 15:21:11 +0100 |
commit | 4ce7971770b49e84447e680c823a769240286978 (patch) | |
tree | 569303b9d9c8e8a63b9a15db54254116d0521f2f /modules/uniconv/u8-conv-from-enc-tests | |
parent | ddd23eb80039b54284e18cba299a5764f1b65bc6 (diff) | |
download | gnulib-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-conv-from-enc-tests')
-rw-r--r-- | modules/uniconv/u8-conv-from-enc-tests | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/uniconv/u8-conv-from-enc-tests b/modules/uniconv/u8-conv-from-enc-tests index a9b7d772c7..96e6a97978 100644 --- a/modules/uniconv/u8-conv-from-enc-tests +++ b/modules/uniconv/u8-conv-from-enc-tests @@ -1,5 +1,6 @@ Files: tests/uniconv/test-u8-conv-from-enc.c +tests/iconvsupport.c tests/macros.h Depends-on: @@ -11,6 +12,6 @@ configure.ac: Makefile.am: TESTS += test-u8-conv-from-enc check_PROGRAMS += test-u8-conv-from-enc -test_u8_conv_from_enc_SOURCES = uniconv/test-u8-conv-from-enc.c +test_u8_conv_from_enc_SOURCES = uniconv/test-u8-conv-from-enc.c iconvsupport.c test_u8_conv_from_enc_LDADD = $(LDADD) $(LIBUNISTRING) @LIBICONV@ |