diff options
Diffstat (limited to 'test/locale-mbwc')
110 files changed, 0 insertions, 12672 deletions
diff --git a/test/locale-mbwc/Makefile b/test/locale-mbwc/Makefile deleted file mode 100644 index 263f325b9..000000000 --- a/test/locale-mbwc/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -# uClibc locale tests -# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. - -top_builddir=../../ -top_srcdir=../../ -include ../Rules.mak --include Makefile.in -include ../Test.mak diff --git a/test/locale-mbwc/Makefile.in b/test/locale-mbwc/Makefile.in deleted file mode 100644 index 6c0d89447..000000000 --- a/test/locale-mbwc/Makefile.in +++ /dev/null @@ -1,30 +0,0 @@ -# uClibc locale tests -# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. -# tst_mbtowc tst_strcoll tst_strfmon tst_strxfrm \ - -TESTS := tst_iswalnum tst_iswalpha tst_iswcntrl \ - tst_iswctype tst_iswdigit tst_iswgraph \ - tst_iswlower tst_iswprint tst_iswpunct \ - tst_iswspace tst_iswupper tst_iswxdigit \ - tst_mblen tst_mbrlen tst_mbrtowc tst_mbsrtowcs \ - tst_mbstowcs tst_mbtowc tst_strcoll tst_strxfrm \ - tst_swscanf tst_towctrans tst_towlower \ - tst_towupper tst_wcrtomb tst_wcscat tst_wcschr \ - tst_wcscmp tst_wcscoll tst_wcscpy tst_wcscspn \ - tst_wcslen tst_wcsncat tst_wcsncmp tst_wcsncpy \ - tst_wcspbrk tst_wcsrtombs tst_wcsspn tst_wcsstr \ - tst_wcstod tst_wcstok tst_wcstombs tst_wcswidth \ - tst_wcsxfrm tst_wctob tst_wctomb tst_wctrans \ - tst_wctype tst_wcwidth tst_strfmon \ - tst2_mbrtowc - -# NOTE: For now disabled tst_strfmon to avoid build failure. -TESTS_DISABLED := tst_strfmon - -ifneq ($(UCLIBC_HAS_FLOATS),y) -TESTS_DISABLED += tst_swscanf tst_wcstod -endif - -DODIFF_rint := 1 - -EXTRA_CFLAGS := -D__USE_GNU -fno-builtin diff --git a/test/locale-mbwc/dat_isw-funcs.h b/test/locale-mbwc/dat_isw-funcs.h deleted file mode 100644 index 70aecb083..000000000 --- a/test/locale-mbwc/dat_isw-funcs.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY - * - * FILE: dat_isw-funcs.h - * - * ISW*: int isw* (wint_t wc); - */ - -#include <errno.h> -#include <stdlib.h> -#include <wctype.h> -#include "tst_types.h" -#include "tgn_locdef.h" - -#define TST_ISW_LOC(FUNC, func) \ - TST_ISW## FUNC tst_isw## func ##_loc [] - -#define TST_ISW_REC(locale, func) \ - { Tisw## func, TST_LOC_## locale }, - -/* - * NOTE: - * Set ret_flg = 1, when a return value is expected to be 0 (FALSE). - * Set ret_flg = 0, when a return value is expected to be non-zero (TRUE). - * - * Since the functions return *non*-zero value for TRUE, can't - * compare an actual return value with an expected return value. - * Set the ret_flg=0 for TRUE cases and the tst_isw*() will check - * the non-zero value. - * - * { { WEOF }, { 0,1,0 } }, - * | | - * | ret_val: an expected return value - * ret_flg: if 1, compare an actual return value with the - * ret_val; if 0, the test program - * checks the actual return value. |