diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:29:21 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-28 20:31:55 +0200 |
commit | 99ef2719fb3d703fe38c4113cd7f5adec516dd3a (patch) | |
tree | 2c1f77cb41b60ccbf8faa77a3640491a3546b546 /test/locale-mbwc | |
parent | 543308f6c46cf2edf8a524bc9c631e472570fe72 (diff) |
test: remove test suite
The test suite is now a developed in a separate git repository.
See here:
http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng-test.git
The test suite should be just like every other software compiled
with the cross-toolchain. In the past strange problems where found
when the test suite got build in the toolchain creation step.
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. - */ diff --git a/test/locale-mbwc/dat_iswalnum.c b/test/locale-mbwc/dat_iswalnum.c deleted file mode 100644 index 509370359..000000000 --- a/test/locale-mbwc/dat_iswalnum.c +++ /dev/null @@ -1,196 +0,0 @@ -/* - * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY - * - * FILE: dat_iswalnum.c - * - * ISW*: int iswalnum (wint_t wc); - */ - - -#include "dat_isw-funcs.h" - - -TST_ISW_LOC (ALNUM, alnum) = { - - { TST_ISW_REC (de, alnum) - { - { { 0x0080 }, { 0,1,0 } }, /* CTRL */ - { { 0x009F }, { 0,1,0 } }, /* CTRL */ - { { 0x00A0 }, { 0,1,0 } }, /* NB SPACE */ - { { 0x00A1 }, { 0,1,0 } }, /* UD ! */ - { { 0x00B0 }, { 0,1,0 } }, /* Degree */ - { { 0x00B1 }, { 0,1,0 } }, /* +- sign */ - { { 0x00B2 }, { 0,1,0 } }, /* SUP 2 */ - { { 0x00B3 }, { 0,1,0 } }, /* SUP 3 */ - { { 0x00B4 }, { 0,1,0 } }, /* ACUTE */ - { { 0x00B8 }, { 0,1,0 } }, /* CEDILLA */ - { { 0x00B9 }, { 0,1,0 } }, /* SUP 1 */ - { { 0x00BB }, { 0,1,0 } }, /* >> */ - { { 0x00BC }, { 0,1,0 } }, /* 1/4 */ - { { 0x00BD }, { 0,1,0 } }, /* 1/2 */ - { { 0x00BE }, { 0,1,0 } }, /* 3/4 */ - { { 0x00BF }, { 0,1,0 } }, /* UD ? */ - { { 0x00C0 }, { 0,0,0 } }, /* A Grave */ - { { 0x00D6 }, { 0,0,0 } }, /* O dia */ - { { 0x00D7 }, { 0,1,0 } }, /* multipl. */ - { { 0x00D8 }, { 0,0,0 } }, /* O stroke */ - { { 0x00DF }, { 0,0,0 } }, /* small Sh */ - { { 0x00E0 }, { 0,0,0 } }, /* a grave */ - { { 0x00F6 }, { 0,0,0 } }, /* o dia */ - { { 0x00F7 }, { 0,1,0 } }, /* division */ - { { 0x00F8 }, { 0,0,0 } }, /* o stroke */ - { { 0x00FF }, { 0,0,0 } }, /* y dia */ - { .is_last = 1 } /* last element */ - } - }, - { TST_ISW_REC (de_UTF8, alnum) - { - { { 0x0080 }, { 0,1,0 } }, /* CTRL */ - { { 0x009F }, { 0,1,0 } }, /* CTRL */ - { { 0x00A0 }, { 0,1,0 } }, /* NB SPACE */ - { { 0x00A1 }, { 0,1,0 } }, /* UD ! */ - { { 0x00B0 }, { 0,1,0 } }, /* Degree */ - { { 0x00B1 }, { 0,1,0 } }, /* +- sign */ - { { 0x00B2 }, { 0,1,0 } }, /* SUP 2 */ - { { 0x00B3 }, { 0,1,0 } }, /* SUP 3 */ - { { 0x00B4 }, { 0,1,0 } }, /* ACUTE */ - { { 0x00B8 }, { 0,1,0 } }, /* CEDILLA */ - { { 0x00B9 }, { 0,1,0 } }, /* SUP 1 */ - { { 0x00BB }, { 0,1,0 } }, /* >> */ - { { 0x00BC }, { 0,1,0 } }, /* 1/4 */ - { { 0x00BD }, { 0,1,0 } }, /* 1/2 */ - { { 0x00BE }, { 0,1,0 } }, /* 3/4 */ - { { 0x00BF }, { 0,1,0 } }, /* UD ? */ - { { 0x00C0 }, { 0,0,0 } }, /* A Grave */ - { { 0x00D6 }, { 0,0,0 } }, /* O dia */ - { { 0x00D7 }, { 0,1,0 } }, /* multipl. */ - { { 0x00D8 }, { 0,0,0 } }, /* O stroke */ - { { 0x00DF }, { 0,0,0 } }, /* small Sh */ - { { 0x00E0 }, { 0,0,0 } }, /* a grave */ - { { 0x00F6 }, { 0,0,0 } }, /* o dia */ - { { 0x00F7 }, { 0,1,0 } }, /* division */ - { { 0x00F8 }, { 0,0,0 } }, /* o stroke */ - { { 0x00FF }, { 0,0,0 } }, /* y dia */ - { .is_last = 1 } /* last element */ - } - }, - { TST_ISW_REC (enUS, alnum) - { - { { WEOF }, { 0,1,0 } }, - { { 0x0000 }, { 0,1,0 } }, - { { 0x001F }, { 0,1,0 } }, - { { 0x0020 }, { 0,1,0 } }, - { { 0x0021 }, { 0,1,0 } }, - { { 0x002F }, { 0,1,0 } }, - { { 0x0030 }, { 0,0,0 } }, - { { 0x0039 }, { 0,0,0 } }, - { { 0x003A }, { 0,1,0 } }, - { { 0x0040 }, { 0,1,0 } }, - { { 0x0041 }, { 0,0,0 } }, - { { 0x005A }, { 0,0,0 } }, - { { 0x005B }, { 0,1,0 } }, - { { 0x0060 }, { 0,1,0 } }, - { { 0x0061 }, { 0,0,0 } }, - { { 0x007A }, { 0,0,0 } }, |