mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 05:20:06 +00:00
Move wide char tests to wcsmbs directory
This commit is contained in:
parent
4badf7e8d7
commit
762011fe9f
13
ChangeLog
13
ChangeLog
@ -1,3 +1,16 @@
|
||||
2011-09-08 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
|
||||
* wcsmbs/test-wmemcmp.c: Likewise.
|
||||
* string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
|
||||
* wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
|
||||
|
||||
2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
|
||||
|
||||
* string/Makefile (strop-tests): Add memcmp.
|
||||
* string/test-wmemcmp.c: New file.
|
||||
* string/test-memcmp.c: Add wmemcmp support.
|
||||
|
||||
2011-09-08 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
[BZ #13153]
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 1991-2002, 2005-2008, 2009, 2010 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1991-2002, 2005-2010, 2011 Free Software Foundation, Inc.
|
||||
# This file is part of the GNU C Library.
|
||||
|
||||
# The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -46,11 +46,11 @@ routines := strcat strchr strcmp strcoll strcpy strcspn \
|
||||
# for -fbounded-pointer compiles. Glibc uses memchr for explicit checks.
|
||||
o-objects.ob := memcpy.o memset.o memchr.o
|
||||
|
||||
strop-tests := wcscmp memchr memcmp memcpy memmove mempcpy memset memccpy \
|
||||
strop-tests := memchr memcmp memcpy memmove mempcpy memset memccpy \
|
||||
stpcpy stpncpy strcat strchr strcmp strcpy strcspn \
|
||||
strlen strncmp strncpy strpbrk strrchr strspn memmem \
|
||||
strstr strcasestr strnlen strcasecmp strncasecmp \
|
||||
strncat wmemcmp
|
||||
strncat
|
||||
tests := tester inl-tester noinl-tester testcopy test-ffs \
|
||||
tst-strlen stratcliff tst-svc tst-inlcall \
|
||||
bug-strncat1 bug-strspn1 bug-strpbrk1 tst-bswap \
|
||||
|
@ -1,2 +0,0 @@
|
||||
#define WIDE 1
|
||||
#include "test-strcmp.c"
|
@ -1,2 +0,0 @@
|
||||
#define WIDE 1
|
||||
#include "test-memcmp.c"
|
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 1995-2000,2002,2003,2004,2005,2006,2007
|
||||
# Copyright (C) 1995-2000,2002,2003,2004,2005,2006,2007,2011
|
||||
# Free Software Foundation, Inc.
|
||||
# This file is part of the GNU C Library.
|
||||
|
||||
@ -42,9 +42,10 @@ routines := wcscat wcschr wcscmp wcscpy wcscspn wcsdup wcslen wcsncat \
|
||||
isoc99_wscanf isoc99_vwscanf isoc99_fwscanf isoc99_vfwscanf \
|
||||
isoc99_swscanf isoc99_vswscanf
|
||||
|
||||
strop-tests := wcscmp wmemcmp
|
||||
tests := tst-wcstof wcsmbs-tst1 tst-wcsnlen tst-btowc tst-mbrtowc \
|
||||
tst-wcrtomb tst-wcpncpy tst-mbsrtowcs tst-wchar-h tst-mbrtowc2 \
|
||||
wcsatcliff
|
||||
wcsatcliff $(addprefix test-,$(strop-tests))
|
||||
|
||||
include ../Rules
|
||||
|
||||
|
2
wcsmbs/test-wcscmp.c
Normal file
2
wcsmbs/test-wcscmp.c
Normal file
@ -0,0 +1,2 @@
|
||||
#define WIDE 1
|
||||
#include "../string/test-strcmp.c"
|
2
wcsmbs/test-wmemcmp.c
Normal file
2
wcsmbs/test-wmemcmp.c
Normal file
@ -0,0 +1,2 @@
|
||||
#define WIDE 1
|
||||
#include "../string/test-memcmp.c"
|
Loading…
Reference in New Issue
Block a user