summaryrefslogtreecommitdiff
path: root/tests/test-mbrtoc32.c
Commit message (Collapse)AuthorAgeFilesLines
* mbrtoc32 tests: Prefer *c32* functions.Bruno Haible2023-04-031-1/+1
| | | | | * tests/test-mbrtoc32.c (main): Use btoc32 instead of btowc. * modules/mbrtoc32-tests (Depends-on): Add btoc32.
* mbrtoc32 tests: Add comment.Bruno Haible2023-04-031-0/+4
| | | | | | | | * m4/mbrtowc.m4 (gl_MBRTOWC_C_LOCALE): Add comment. * m4/mbrtoc32.m4 (gl_MBRTOC32_C_LOCALE): Add comment. * tests/test-mbrtoc32.c: Add comment. * tests/test-mbrtoc32-5.sh: Use symmetric coding style. * doc/posix-functions/mbrtoc32.texi: Update.
* mbrtowc, mbrtoc32 tests: Avoid test failure on Android ≥ 5.0.Bruno Haible2023-01-161-0/+10
| | | | | | | * tests/test-mbrtowc.c (main): On Android 5.0 or newer, when testing the "C" locale, verify that the encoding is UTF-8. * tests/test-mbrtoc32.c (main): Likewise. * doc/posix-functions/setlocale.texi: Mention the Android problems.
* mbrtowc, mbrtoc32 tests: Refactor.Bruno Haible2023-01-161-16/+38
| | | | | * tests/test-mbrtowc.c (main): Straighten convoluted code. * tests/test-mbrtoc32.c (main): Likewise.
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* license: fix GPLv3 texts to use a comma instead of semicolon.Bernhard Voelker2022-01-051-1/+1
| | | | | | | | | See: https://www.gnu.org/licenses/gpl-3.0.html#howto Run: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * All files using GPLv3: Adjust via the above command.
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* Tweak recently added tests.Bruno Haible2020-01-051-2/+2
| | | | | | * tests/test-mbrtoc32.c: Make signature consistent with uchar.in.h. * tests/test-mbsrtoc32s.c: Likewise. * tests/test-mbsnrtoc32s.c: Likewise.
* mbrtoc32: Add tests.Bruno Haible2020-01-041-0/+376
* tests/test-mbrtoc32.c: New file, based on tests/test-mbrtowc.c. * tests/test-mbrtoc32-1.sh: New file, based on tests/test-mbrtowc1.sh. * tests/test-mbrtoc32-2.sh: New file, based on tests/test-mbrtowc2.sh. * tests/test-mbrtoc32-3.sh: New file, based on tests/test-mbrtowc3.sh. * tests/test-mbrtoc32-4.sh: New file, based on tests/test-mbrtowc4.sh. * tests/test-mbrtoc32-5.sh: New file, based on tests/test-mbrtowc5.sh. * tests/test-mbrtoc32-w32.c: New file, based on tests/test-mbrtowc-w32.c. * tests/test-mbrtoc32-w32-1.sh: New file, based on tests/test-mbrtowc-w32-1.sh. * tests/test-mbrtoc32-w32-2.sh: New file, based on tests/test-mbrtowc-w32-2.sh. * tests/test-mbrtoc32-w32-3.sh: New file, based on tests/test-mbrtowc-w32-3.sh. * tests/test-mbrtoc32-w32-4.sh: New file, based on tests/test-mbrtowc-w32-4.sh. * tests/test-mbrtoc32-w32-5.sh: New file, based on tests/test-mbrtowc-w32-5.sh. * tests/test-mbrtoc32-w32-6.sh: New file, based on tests/test-mbrtowc-w32-6.sh. * tests/test-mbrtoc32-w32-7.sh: New file, based on tests/test-mbrtowc-w32-7.sh. * modules/mbrtoc32-tests: New file, based on modules/mbrtowc-tests.