summaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-09-08 18:01:07 -0400
committerUlrich Drepper <drepper@gmail.com>2011-09-08 18:01:07 -0400
commit762011fe9ffded81448be4dc50a2b27faaafe4c9 (patch)
tree3f250f2173f91e512cde97e26da61d0b9b05b15d /wcsmbs
parent4badf7e8d7b44e1b6b887ff94ca7933c4a0ee336 (diff)
Move wide char tests to wcsmbs directory
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/Makefile5
-rw-r--r--wcsmbs/test-wcscmp.c2
-rw-r--r--wcsmbs/test-wmemcmp.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile
index 907bb25580..dbb6756277 100644
--- a/wcsmbs/Makefile
+++ b/wcsmbs/Makefile
@@ -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
diff --git a/wcsmbs/test-wcscmp.c b/wcsmbs/test-wcscmp.c
new file mode 100644
index 0000000000..aa18c30a61
--- /dev/null
+++ b/wcsmbs/test-wcscmp.c
@@ -0,0 +1,2 @@
+#define WIDE 1
+#include "../string/test-strcmp.c"
diff --git a/wcsmbs/test-wmemcmp.c b/wcsmbs/test-wmemcmp.c
new file mode 100644
index 0000000000..73bc4b72c8
--- /dev/null
+++ b/wcsmbs/test-wmemcmp.c
@@ -0,0 +1,2 @@
+#define WIDE 1
+#include "../string/test-memcmp.c"