This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

iconv testsuite additions



Here are some files that ensure that the iconv converters for EUC-JISX0213,
SHIFT_JISX0213 and ISO-2022-JP-3 will be checked.


2002-05-12  Bruno Haible  <bruno@clisp.org>

	* iconvdata/testdata/EUC-JISX0213: New file.
	* iconvdata/testdata/EUC-JISX0213..UTF8: New file.
	* iconvdata/testdata/SHIFT_JISX0213: New file.
	* iconvdata/testdata/SHIFT_JISX0213..UTF8: New file.
	* iconvdata/testdata/ISO-2022-JP-3: New file.
	* iconvdata/testdata/ISO-2022-JP-3..UTF8: New file.
	* iconvdata/TESTS: Add EUC-JISX0213, SHIFT_JISX0213, ISO-2022-JP-3.
	* iconvdata/run-iconv-test.sh: Skip the charmap test if the charmap
	contains comments indicating precomposed characters.

[The new files are too large for this mailing list; you find them at
ftp://ftp.ilog.fr/pub/Users/haible/gnu/glibc-testdata-0213.tar.bz2 ]

--- glibc-20020425/iconvdata/TESTS.bak	2002-01-02 16:04:41.000000000 +0100
+++ glibc-20020425/iconvdata/TESTS	2002-05-12 04:43:30.000000000 +0200
@@ -112,3 +115,6 @@
 IBM1163			IBM1163			Y	UTF8
 IBM1164			IBM1164			N	UTF8
 TCVN-5712		TCVN-5712		Y	UTF8
+EUC-JISX0213		EUC-JISX0213		Y	UTF8
+SHIFT_JISX0213		SHIFT_JISX0213		Y	UTF8
+ISO-2022-JP-3		ISO-2022-JP-3		N	UTF8
--- glibc-20020425/iconvdata/run-iconv-test.sh.bak	2001-07-10 22:58:49.000000000 +0200
+++ glibc-20020425/iconvdata/run-iconv-test.sh	2002-05-11 13:56:29.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh -f
 # Run available iconv(1) tests.
-# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1998-2002 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 # Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 #
@@ -101,7 +101,8 @@
       if test "$t" = UTF8; then tc=UTF-8; else tc="$t"; fi
       if test -f ../localedata/charmaps/$from &&
          test -f ../localedata/charmaps/$tc &&
-	 test -f testdata/$from; then
+	 test -f testdata/$from &&
+	 ! grep '<U....><U....>' ../localedata/charmaps/$from > /dev/null; then
 	echo $ac_n "test charmap: $from -> $t $ac_c"
 	$PROG -f ../localedata/charmaps/$from -t ../localedata/charmaps/$tc \
 	      testdata/$from > $temp1 ||


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]