wcrtomb: Add more tests.
commit74cdf7d6063d1d8586f8673075d93516ce0ac0ac
authorBruno Haible <bruno@clisp.org>
Fri, 3 Jan 2020 00:26:10 +0000 (3 01:26 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 3 Jan 2020 00:26:10 +0000 (3 01:26 +0100)
treef93bb5787543e030cbccfd77a97a4ca610943346
parent5f5389b7b8d5037d77b37859a0c7821e61e90d4d
wcrtomb: Add more tests.

* tests/test-wcrtomb-w32.c: Include localcharset.h.
(test_one_locale): For the GB18030 and UTF-8 tests, verify that
locale_charset() returns the expected value; otherwise, skip the test.
* tests/test-wcrtomb-w32-6.sh: Remove old comment.
* tests/test-wcrtomb-w32-7.sh: Likewise.
* modules/wcrtomb-tests (Files): Add these files.
(Depends-on): Add localcharset.
(TESTS): Add test-wcrtomb-w32-6.sh, test-wcrtomb-w32-7.sh.
ChangeLog
modules/wcrtomb-tests
tests/test-wcrtomb-w32-6.sh
tests/test-wcrtomb-w32-7.sh
tests/test-wcrtomb-w32.c