icu/internaltests/run_ucnv_getMaxCharSize.csh
changeset 39 65491902381c
child 58 de913f9e3e2b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/icu/internaltests/run_ucnv_getMaxCharSize.csh	Tue Nov 02 11:29:20 2010 +0100
@@ -0,0 +1,23 @@
+#!/bin/csh
+#   Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
+
+set path=( $path /usr/bin /usr/sbin /bin )
+
+set LOCALES='C en_US.UTF-8 en_US.ISO8859-1 ja_JP.PCK de_DE.ISO8859-15 ko_KR.EUC zh_CN.EUC zh_TW.EUC en_US de_DE.ISO8859-1'
+set PROCESSOR='32 64'
+
+foreach j ($PROCESSOR)
+	/bin/rm -f ucnv_getMaxCharSize-$j-log.txt
+	foreach i ($LOCALES)
+		echo " " |& tee -a ucnv_getMaxCharSize-$j-log.txt
+		echo "env LANG=$i ./ucnv_getMaxCharSize-$j" |& \
+			tee -a ucnv_getMaxCharSize-$j-log.txt
+		env LANG=$i ./ucnv_getMaxCharSize-$j |& \
+			tee -a ucnv_getMaxCharSize-$j-log.txt
+	end
+end
+
+echo "Log file(s), ucnv_getMaxCharSize-{32,64}-log.txt, can be "
+echo "found at the current directory."
+
+exit 0;