mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
wcsmbs: Re-flow and sort routines, tests variables in Makefile
Eliminate strop-tests because it does not seem to be a simplification. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
4e4641164d
commit
060cadaab6
1 changed files with 137 additions and 39 deletions
176
wcsmbs/Makefile
176
wcsmbs/Makefile
|
@ -26,46 +26,144 @@ headers := wchar.h bits/wchar.h bits/wchar2.h bits/wchar2-decl.h \
|
||||||
bits/wchar-ldbl.h uchar.h bits/types/__mbstate_t.h \
|
bits/wchar-ldbl.h uchar.h bits/types/__mbstate_t.h \
|
||||||
bits/types/mbstate_t.h bits/types/wint_t.h
|
bits/types/mbstate_t.h bits/types/wint_t.h
|
||||||
|
|
||||||
routines := wcscat wcschr wcscmp wcscpy wcscspn wcsdup wcslen wcsncat \
|
routines := \
|
||||||
wcsncmp wcsncpy wcspbrk wcsrchr wcsspn wcstok wcsstr wmemchr \
|
btowc \
|
||||||
wmemcmp wmemcpy wmemmove wmemset wcpcpy wcpncpy wmempcpy \
|
c16rtomb \
|
||||||
btowc wctob mbsinit \
|
c32rtomb \
|
||||||
mbrlen mbrtowc wcrtomb mbsrtowcs wcsrtombs \
|
c8rtomb \
|
||||||
mbsnrtowcs wcsnrtombs wcsnlen wcschrnul \
|
isoc23_fwscanf \
|
||||||
wcstol wcstoul wcstoll wcstoull wcstod wcstold wcstof \
|
isoc23_swscanf \
|
||||||
wcstol_l wcstoul_l wcstoll_l wcstoull_l \
|
isoc23_vfwscanf \
|
||||||
wcstod_l wcstold_l wcstof_l \
|
isoc23_vswscanf \
|
||||||
wcstod_nan wcstold_nan wcstof_nan \
|
isoc23_vwscanf \
|
||||||
wcscoll wcsxfrm \
|
isoc23_wscanf \
|
||||||
wcwidth wcswidth \
|
isoc99_fwscanf \
|
||||||
wcscoll_l wcsxfrm_l \
|
isoc99_swscanf \
|
||||||
wcscasecmp wcsncase wcscasecmp_l wcsncase_l \
|
isoc99_vfwscanf \
|
||||||
wcsmbsload mbsrtowcs_l \
|
isoc99_vswscanf \
|
||||||
isoc99_wscanf isoc99_vwscanf isoc99_fwscanf isoc99_vfwscanf \
|
isoc99_vwscanf \
|
||||||
isoc99_swscanf isoc99_vswscanf \
|
isoc99_wscanf \
|
||||||
isoc23_wscanf isoc23_vwscanf isoc23_fwscanf isoc23_vfwscanf \
|
mbrlen \
|
||||||
isoc23_swscanf isoc23_vswscanf \
|
mbrtoc16 \
|
||||||
mbrtoc8 c8rtomb mbrtoc16 c16rtomb mbrtoc32 c32rtomb
|
mbrtoc32 \
|
||||||
|
mbrtoc8 \
|
||||||
|
mbrtowc \
|
||||||
|
mbsinit \
|
||||||
|
mbsnrtowcs \
|
||||||
|
mbsrtowcs \
|
||||||
|
mbsrtowcs_l \
|
||||||
|
wcpcpy \
|
||||||
|
wcpncpy \
|
||||||
|
wcrtomb \
|
||||||
|
wcscasecmp \
|
||||||
|
wcscasecmp_l \
|
||||||
|
wcscat \
|
||||||
|
wcschr \
|
||||||
|
wcschrnul \
|
||||||
|
wcscmp \
|
||||||
|
wcscoll \
|
||||||
|
wcscoll_l \
|
||||||
|
wcscpy \
|
||||||
|
wcscspn \
|
||||||
|
wcsdup \
|
||||||
|
wcslen \
|
||||||
|
wcsmbsload \
|
||||||
|
wcsncase \
|
||||||
|
wcsncase_l \
|
||||||
|
wcsncat \
|
||||||
|
wcsncmp \
|
||||||
|
wcsncpy \
|
||||||
|
wcsnlen \
|
||||||
|
wcsnrtombs \
|
||||||
|
wcspbrk \
|
||||||
|
wcsrchr \
|
||||||
|
wcsrtombs \
|
||||||
|
wcsspn \
|
||||||
|
wcsstr \
|
||||||
|
wcstod \
|
||||||
|
wcstod_l \
|
||||||
|
wcstod_nan \
|
||||||
|
wcstof \
|
||||||
|
wcstof_l \
|
||||||
|
wcstof_nan \
|
||||||
|
wcstok \
|
||||||
|
wcstol \
|
||||||
|
wcstol_l \
|
||||||
|
wcstold \
|
||||||
|
wcstold_l \
|
||||||
|
wcstold_nan \
|
||||||
|
wcstoll \
|
||||||
|
wcstoll_l \
|
||||||
|
wcstoul \
|
||||||
|
wcstoul_l \
|
||||||
|
wcstoull \
|
||||||
|
wcstoull_l \
|
||||||
|
wcswidth \
|
||||||
|
wcsxfrm \
|
||||||
|
wcsxfrm_l \
|
||||||
|
wctob \
|
||||||
|
wcwidth \
|
||||||
|
wmemchr \
|
||||||
|
wmemcmp \
|
||||||
|
wmemcpy \
|
||||||
|
wmemmove \
|
||||||
|
wmempcpy \
|
||||||
|
wmemset \
|
||||||
|
# routines
|
||||||
|
|
||||||
strop-tests := wcscmp wcsncmp wmemcmp wcslen wcschr wcsrchr wcscpy wcsnlen \
|
tests := \
|
||||||
wcpcpy wcsncpy wcpncpy wcscat wcsncat wcschrnul wcsspn wcspbrk \
|
test-c8rtomb \
|
||||||
wcscspn wmemchr wmemset
|
test-char-types \
|
||||||
tests := tst-wcstof wcsmbs-tst1 tst-wcsnlen tst-btowc tst-mbrtowc \
|
test-mbrtoc8 \
|
||||||
tst-wcrtomb tst-wcpncpy tst-mbsrtowcs tst-wchar-h tst-mbrtowc2 \
|
test-wcpcpy \
|
||||||
tst-c16c32-1 wcsatcliff tst-wcstol-locale tst-wcstod-nan-locale \
|
test-wcpncpy \
|
||||||
tst-wcstod-round test-char-types tst-fgetwc-after-eof \
|
test-wcscat \
|
||||||
tst-wcstod-nan-sign tst-c16-surrogate tst-c32-state \
|
test-wcschr \
|
||||||
test-mbrtoc8 test-c8rtomb \
|
test-wcschrnul \
|
||||||
$(addprefix test-,$(strop-tests)) tst-mbstowcs \
|
test-wcscmp \
|
||||||
tst-wprintf-binary \
|
test-wcscpy \
|
||||||
tst-wcstol-binary-c11 \
|
test-wcscspn \
|
||||||
tst-wcstol-binary-c2x \
|
test-wcslen \
|
||||||
tst-wcstol-binary-gnu11 \
|
test-wcsncat \
|
||||||
tst-wcstol-binary-gnu2x \
|
test-wcsncmp \
|
||||||
tst-wscanf-binary-c11 \
|
test-wcsncpy \
|
||||||
tst-wscanf-binary-c2x \
|
test-wcsnlen \
|
||||||
tst-wscanf-binary-gnu11 \
|
test-wcspbrk \
|
||||||
tst-wscanf-binary-gnu89
|
test-wcsrchr \
|
||||||
|
test-wcsspn \
|
||||||
|
test-wmemchr \
|
||||||
|
test-wmemcmp \
|
||||||
|
test-wmemset \
|
||||||
|
tst-btowc \
|
||||||
|
tst-c16-surrogate \
|
||||||
|
tst-c16c32-1 \
|
||||||
|
tst-c32-state \
|
||||||
|
tst-fgetwc-after-eof \
|
||||||
|
tst-mbrtowc \
|
||||||
|
tst-mbrtowc2 \
|
||||||
|
tst-mbsrtowcs \
|
||||||
|
tst-mbstowcs \
|
||||||
|
tst-wchar-h \
|
||||||
|
tst-wcpncpy \
|
||||||
|
tst-wcrtomb \
|
||||||
|
tst-wcsnlen \
|
||||||
|
tst-wcstod-nan-locale \
|
||||||
|
tst-wcstod-nan-sign \
|
||||||
|
tst-wcstod-round \
|
||||||
|
tst-wcstof \
|
||||||
|
tst-wcstol-binary-c11 \
|
||||||
|
tst-wcstol-binary-c2x \
|
||||||
|
tst-wcstol-binary-gnu11 \
|
||||||
|
tst-wcstol-binary-gnu2x \
|
||||||
|
tst-wcstol-locale \
|
||||||
|
tst-wprintf-binary \
|
||||||
|
tst-wscanf-binary-c11 \
|
||||||
|
tst-wscanf-binary-c2x \
|
||||||
|
tst-wscanf-binary-gnu11 \
|
||||||
|
tst-wscanf-binary-gnu89 \
|
||||||
|
wcsatcliff \
|
||||||
|
wcsmbs-tst1 \
|
||||||
|
# tests
|
||||||
|
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue