bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

striconveha, uniconv/*: avoid test failures on musl libc


From: Bruno Haible
Subject: striconveha, uniconv/*: avoid test failures on musl libc
Date: Sat, 24 Feb 2018 15:25:17 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-112-generic; KDE/5.18.0; x86_64; ; )

On Alpine Linux 3.7.0, which uses musl libc, I see these test failures in
libunistring:

FAIL: test-striconveha
======================

../../tests/test-striconveha.c:327: assertion 'retval == 0' failed
FAIL test-striconveha (exit status: 134)

FAIL: test-u16-conv-from-enc
============================

../../tests/uniconv/test-u16-conv-from-enc.c:137: assertion 'result != NULL' 
failed
FAIL test-u16-conv-from-enc (exit status: 134)

FAIL: test-u16-strconv-from-enc
===============================

../../tests/uniconv/test-u16-strconv-from-enc.c:84: assertion 'result != NULL' 
failed
FAIL test-u16-strconv-from-enc (exit status: 134)

FAIL: test-u32-conv-from-enc
============================

../../tests/uniconv/test-u32-conv-from-enc.c:137: assertion 'result != NULL' 
failed
FAIL test-u32-conv-from-enc (exit status: 134)

FAIL: test-u32-strconv-from-enc
===============================

../../tests/uniconv/test-u32-strconv-from-enc.c:84: assertion 'result != NULL' 
failed
FAIL test-u32-strconv-from-enc (exit status: 134)

FAIL: test-u8-conv-from-enc
===========================

../../tests/uniconv/test-u8-conv-from-enc.c:129: assertion 'result != NULL' 
failed
FAIL test-u8-conv-from-enc (exit status: 134)

FAIL: test-u8-strconv-from-enc
==============================

../../tests/uniconv/test-u8-strconv-from-enc.c:72: assertion 'result != NULL' 
failed
FAIL test-u8-strconv-from-enc (exit status: 134)


The cause is that musl libc does not support the ISO-2022-JP-2 encoding. This
patch fixes it.


Bruno

Attachment: 0001-striconveha-uniconv-Avoid-test-failures-on-musl-libc.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]