summaryrefslogtreecommitdiff
path: root/tests/uniconv
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-0112-12/+12
|
* license: fix GPLv3 texts to use a comma instead of semicolon.Bernhard Voelker2022-01-0512-12/+12
| | | | | | | | | 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-0112-12/+12
|
* maint: run 'make update-copyright'Paul Eggert2020-12-3112-12/+12
|
* maint: Run 'make update-copyright'Paul Eggert2019-12-3112-12/+12
|
* tests: Free allocated memory.Bruno Haible2019-03-103-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by <deltatau@protonmail.com> via Assaf Gordon. * tests/test-astrxfrm.c (main): Free allocated memory. * tests/test-bitset.c (compare, check_attributes): Free allocated bitsets. * tests/test-filenamecat.c (main): Free allocated memory. * tests/test-freadahead.c (main): Free allocated memory and close stdin. * tests/test-freadptr.c (main): Likewise. * tests/test-freadptr2.c (main): Free allocated memory. * tests/test-freadseek.c (main): Likewise. * tests/test-gc-arcfour.c (main): Close allocated context. * tests/test-gc-arctwo.c (main): Likewise. * tests/test-gc-des.c (main): Close all allocated contexts. * tests/test-pipe-filter-gi1.c (main): Free allocated memory. * tests/test-pipe-filter-ii1.c (main): Likewise. * tests/test-posix_spawn_file_actions_addchdir.c (main): Destroy the allocated file actions. * tests/test-posix_spawn_file_actions_addclose.c (main): Likewise. * tests/test-posix_spawn_file_actions_adddup2.c (main): Likewise. * tests/test-posix_spawn_file_actions_addopen.c (main): Likewise. * tests/test-sameacls.c (main): Free allocated memory and ACLs. * tests/test-strfmon_l.c (main): Free allocated locales. * tests/test-striconveh.c (main): Free allocated iconv_t objects. * tests/uniconv/test-u8-conv-to-enc.c (main): Free allocated memory. * tests/uniconv/test-u16-conv-to-enc.c (main): Likewise. * tests/uniconv/test-u32-conv-to-enc.c (main): Likewise. * tests/unistr/test-chr.h (main): Free input32. * tests/unistr/test-strchr.h (test_strchr): Likewise.
* tests: Fix some "unused variable" warnings.Bruno Haible2019-01-2712-12/+12
| | | | | | | | | | | | | | | | | | | | | | * tests/test-fts.c (fts_dealloc): Remove unused variable. * tests/unigbrk/test-uc-grapheme-breaks.c (main): Likewise. * tests/test-striconveh.c (main): Move some variable into the '#if HAVE_ICONV'. * tests/test-striconveha.c (main): Likewise. * tests/uniconv/test-u8-conv-from-enc.c (main): Likewise. * tests/uniconv/test-u16-conv-from-enc.c (main): Likewise. * tests/uniconv/test-u32-conv-from-enc.c (main): Likewise. * tests/uniconv/test-u8-conv-to-enc.c (main): Likewise. * tests/uniconv/test-u16-conv-to-enc.c (main): Likewise. * tests/uniconv/test-u32-conv-to-enc.c (main): Likewise. * tests/uniconv/test-u8-strconv-from-enc.c (main): Likewise. * tests/uniconv/test-u16-strconv-from-enc.c (main): Likewise. * tests/uniconv/test-u32-strconv-from-enc.c (main): Likewise. * tests/uniconv/test-u8-strconv-to-enc.c (main): Likewise. * tests/uniconv/test-u16-strconv-to-enc.c (main): Likewise. * tests/uniconv/test-u32-strconv-to-enc.c (main): Likewise. * tests/test-tsearch.c (main): Move some variable into the '#if HAVE_INITSTATE'.
* maint: Run 'make update-copyright'Paul Eggert2019-01-0112-12/+12
|
* striconveha, uniconv/*: Avoid test failures on musl libc.Bruno Haible2018-02-246-330/+354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* maint: Run 'make update-copyright'Paul Eggert2018-01-0112-12/+12
|
* all: prefer https: URLsPaul Eggert2017-09-1312-12/+12
|
* version-etc: new yearPaul Eggert2017-01-0112-12/+12
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* version-etc: new yearPaul Eggert2016-01-0112-12/+12
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* version-etc: new yearPaul Eggert2014-12-3112-12/+12
| | | | | | * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
* maint: update copyrightEric Blake2014-01-0112-12/+12
| | | | | | I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
* maint: update all copyright year number rangesEric Blake2013-01-0112-12/+12
| | | | | | Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
* maint: update all copyright year number rangesJim Meyering2012-01-0112-12/+12
| | | | Run "make update-copyright".
* maint: update almost all copyright ranges to include 2011Jim Meyering2011-01-0112-12/+12
| | | | Run the new "make update-copyright" rule.
* update nearly all FSF copyright year lists to include 2010Jim Meyering2010-01-0112-12/+12
| | | | | Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
* Refactor common macros used in tests.Bruno Haible2009-12-2412-167/+15
|
* Use spaces for indentation, not tabs.Bruno Haible2009-12-1012-833/+833
|
* Avoid test failures on Solaris 10.Bruno Haible2009-08-166-9/+9
|
* Simplify calling convention of u*_conv_from_encoding.Bruno Haible2009-04-263-123/+108
|
* Simplify calling convention of u*_conv_to_encoding.Bruno Haible2009-04-263-79/+60
|
* The test was a little too strict.Bruno Haible2008-04-202-2/+2
|
* Flush the standard error stream before aborting.Bruno Haible2008-04-1112-12/+24
|
* Change copyright notice from GPLv2+ to GPLv3+.Bruno Haible2007-10-0712-60/+48
|
* Tests for module 'uniconv/u32-conv-to-enc'.Bruno Haible2007-06-091-0/+168
|
* Tests for module 'uniconv/u16-conv-to-enc'.Bruno Haible2007-06-091-0/+195
|
* Tests for module 'uniconv/u8-conv-to-enc'.Bruno Haible2007-06-091-0/+200
|
* Remove unused and pointless code.Bruno Haible2007-06-091-13/+0
|
* Assume <config.h> exists.Bruno Haible2007-05-289-27/+9
|
* Better ASSERT macro.Bruno Haible2007-04-299-9/+99
|
* Avoid test failures on OSF/1, IRIX, HP-UX, AIX.Bruno Haible2007-03-296-0/+18
|
* Tests for module 'uniconv/u32-strconv-to-enc'.Bruno Haible2007-01-271-0/+113
|
* Tests for module 'uniconv/u16-strconv-to-enc'.Bruno Haible2007-01-271-0/+113
|
* Tests for module 'uniconv/u8-strconv-to-enc'.Bruno Haible2007-01-271-0/+104
|
* Tests for module 'uniconv/u32-strconv-from-enc'.Bruno Haible2007-01-271-0/+121
|
* Tests for module 'uniconv/u16-strconv-from-enc'.Bruno Haible2007-01-271-0/+121
|
* Tests for module 'uniconv/u8-strconv-from-enc'.Bruno Haible2007-01-271-0/+103
|
* Tests for module 'uniconv/u32-conv-from-enc'.Bruno Haible2007-01-271-0/+226
|
* Tests for module 'uniconv/u16-conv-from-enc'.Bruno Haible2007-01-271-0/+226
|
* Tests for module 'uniconv/u8-conv-from-enc'.Bruno Haible2007-01-271-0/+212