summaryrefslogtreecommitdiff
path: root/test/locale-mbwc/dat_wcwidth.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:29:21 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-28 20:31:55 +0200
commit99ef2719fb3d703fe38c4113cd7f5adec516dd3a (patch)
tree2c1f77cb41b60ccbf8faa77a3640491a3546b546 /test/locale-mbwc/dat_wcwidth.c
parent543308f6c46cf2edf8a524bc9c631e472570fe72 (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/dat_wcwidth.c')
-rw-r--r--test/locale-mbwc/dat_wcwidth.c149
1 files changed, 0 insertions, 149 deletions
diff --git a/test/locale-mbwc/dat_wcwidth.c b/test/locale-mbwc/dat_wcwidth.c
deleted file mode 100644
index b6b7c2974..000000000
--- a/test/locale-mbwc/dat_wcwidth.c
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
- * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
- *
- * FILE: dat_wcwidth.c
- *
- * WCWIDTH: int wcwidth (wchar_t wc);
- */
-
-TST_WCWIDTH tst_wcwidth_loc [] = {
- {
- { Twcwidth, TST_LOC_de },
- {
- { /*inp*/ { 0x0000 }, /* #01 */
- /*exp*/ { 0, 1,0, },
- },
- { /*inp*/ { 0x0020 }, /* #02 */
- /*exp*/ { 0, 1,1, },
- },
- { /*inp*/ { 0x007F }, /* #03 */
- /*exp*/ { 0, 1,-1, },
- },
- { /*inp*/ { 0x0080 }, /* #04 */
- /*exp*/ { 0, 1,-1, },
- },
- { /*inp*/ { 0x00A1 }, /* #05 */
- /*exp*/ { 0, 1,1, },
- },
- { /*inp*/ { 0x00C1 }, /* #06 */
- /*exp*/ { 0, 1,1, },
- },
-#ifdef SHOJI_IS_RIGHT
- /* <WAIVER> */ /* CHECK : wint_t */
- { /*inp*/ { 0x3041 }, /* #07 */
- /*exp*/ { 0, 1,0, },
- },
-#else
- { /*inp*/ { 0x3041 }, /* #07 */
- /*exp*/ { 0, 1,EOF, },
- },
-#endif
- { .is_last = 1 }
- }
- },
- {
- { Twcwidth, TST_LOC_enUS },
- {
- { /*inp*/ { 0x0000 }, /* #01 */
- /*exp*/ { 0, 1,0, },
- },
- { /*inp*/ { 0x0020 }, /* #02 */
- /*exp*/ { 0, 1,1, },
- },
- { /*inp*/ { 0x007F }, /* #03 */
- /*exp*/ { 0, 1,-1, },
- },
- { /*inp*/ { 0x0080 }, /* #04 */
- /*exp*/ { 0, 1,-1, },
- },
- { /*inp*/ { 0x00A1 }, /* #05 */
- /*exp*/ { 0, 1,-1, },
- },
- { /*inp*/ { 0x00C1 }, /* #06 */
- /*exp*/ { 0, 1,-1, },
- },
- { /*inp*/ { 0x3041 }, /* #07 */
- /*exp*/ { 0, 1,-1, },
- },
- { .is_last = 1 }
- }
- },
-#if 0
- {
- { Twcwidth, TST_LOC_eucJP },
- {
- { /*inp*/ { 0x0000 }, /* #01 */
- /*exp*/ { 0, 1,0, },
- },
- { /*inp*/ { 0x0020 }, /* #02 */
- /*exp*/ { 0, 1,1, },
- },
- { /*inp*/ { 0x007F }, /* #03 */
- /*exp*/ { 0, 1,-1, },
- },
- { /*inp*/ { 0x0080 }, /* #04 */
- /*exp*/ { 0, 1,-1, },
- },
-#ifdef SHOJI_IS_RIGHT
- /* <NO_WAIVER> */
- { /*inp*/ { 0x00A1 }, /* #05 */
- /*exp*/ { 0, 1,0, },
- },
-#else
- /* XXX U00A1 is a valid character in EUC-JP. */
- { /*inp*/ { 0x00A1 }, /* #05 */
- /*exp*/ { 0, 1,2, },
- },
-#endif
- /* jisx0212 */
- { /*inp*/ { 0x00C1 }, /* #06 */
- /*exp*/ { 0, 1,2, },
- },
- { /*inp*/ { 0x3041 }, /* #07 */
- /*exp*/ { 0, 1,2, },
- },
- { .is_last = 1 }
- }
- },
-#else
- {
- { Twcwidth, TST_LOC_ja_UTF8 },
- {
- { /*inp*/ { 0x0000 }, /* #01 */
- /*exp*/ { 0, 1,0, },
- },
- { /*inp*/ { 0x0020 }, /* #02 */
- /*exp*/ { 0, 1,1, },
- },
- { /*inp*/ { 0x007F }, /* #03 */
- /*exp*/ { 0, 1,-1, },
- },
- { /*inp*/ { 0x0080 }, /* #04 */
- /*exp*/ { 0, 1,-1, },
- },
-#ifdef SHOJI_IS_RIGHT
- /* <NO_WAIVER> */
- { /*inp*/ { 0x00A1 }, /* #05 */
- /*exp*/ { 0, 1,0, },
- },
-#else
- /* XXX U00A1 is a valid character in EUC-JP.UTF-8. */
- { /*inp*/ { 0x00A1 }, /* #05 */
- /*exp*/ { 0, 1,1, },
- },
-#endif
- /* jisx0212 */
- { /*inp*/ { 0x00C1 }, /* #06 */
- /*exp*/ { 0, 1,1, },
- },
- { /*inp*/ { 0x3041 }, /* #07 */
- /*exp*/ { 0, 1,2, },
- },
- { .is_last = 1 }
- }
- },
-#endif
- {
- { Twcwidth, TST_LOC_end }
- }
-};