aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
authorLiubov Dmitrieva <liubov.dmitrieva@gmail.com>2011-10-23 14:11:50 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-23 14:11:50 -0400
commit619fcccaa3ef079cafcaddd725eba309c89bef8f (patch)
treed2cbf041ab3cab419746846d57499febd6fff805 /wcsmbs
parent09f699eaef87000a50ce5bbdca1121eca2e063a9 (diff)
downloadglibc-619fcccaa3ef079cafcaddd725eba309c89bef8f.zip
glibc-619fcccaa3ef079cafcaddd725eba309c89bef8f.tar.gz
glibc-619fcccaa3ef079cafcaddd725eba309c89bef8f.tar.bz2
Add wcslen test cases
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/Makefile2
-rw-r--r--wcsmbs/test-wcslen.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile
index dbb6756..d48caf6 100644
--- a/wcsmbs/Makefile
+++ b/wcsmbs/Makefile
@@ -42,7 +42,7 @@ 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
+strop-tests := wcscmp wmemcmp wcslen
tests := tst-wcstof wcsmbs-tst1 tst-wcsnlen tst-btowc tst-mbrtowc \
tst-wcrtomb tst-wcpncpy tst-mbsrtowcs tst-wchar-h tst-mbrtowc2 \
wcsatcliff $(addprefix test-,$(strop-tests))
diff --git a/wcsmbs/test-wcslen.c b/wcsmbs/test-wcslen.c
new file mode 100644
index 0000000..496fa18
--- /dev/null
+++ b/wcsmbs/test-wcslen.c
@@ -0,0 +1,2 @@
+#define WIDE 1
+#include "../string/test-strlen.c"