From d8eb140a0c07f57437e537c57176de30dbea655e Mon Sep 17 00:00:00 2001 From: Ram Viswanadha <rviswanadha@gmail.com> Date: Wed, 18 Sep 2002 21:10:16 +0000 Subject: [PATCH] ICU-331 update project and other files to fix building on windows X-SVN-Rev: 9885 --- .gitattributes | 2 +- icu4c/source/test/testdata/iscii.bin | 19 +++++++++++++++++++ icu4c/source/test/testdata/ja_data.bin | 11 ----------- icu4c/source/test/testdata/testdata.mk | 10 +++++----- 4 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 icu4c/source/test/testdata/iscii.bin delete mode 100644 icu4c/source/test/testdata/ja_data.bin diff --git a/.gitattributes b/.gitattributes index cfa05150684..dfd479887f1 100644 --- a/.gitattributes +++ b/.gitattributes @@ -53,7 +53,7 @@ icu4c/source/data/brkitr/thaidict.brk -text icu4c/source/data/unidata/UCARules.txt -text icu4c/source/samples/ucnv/data02.bin -text icu4c/source/test/testdata/importtest.bin -text -icu4c/source/test/testdata/ja_data.bin -text +icu4c/source/test/testdata/iscii.bin -text icu4c/source/test/testdata/uni-text.bin -text icu4j/src/com/ibm/icu/dev/data/ThaiWordFreq.xls -text icu4j/src/com/ibm/icu/dev/data/holidays_jp.ucs -text diff --git a/icu4c/source/test/testdata/iscii.bin b/icu4c/source/test/testdata/iscii.bin new file mode 100644 index 00000000000..fa0356571dc --- /dev/null +++ b/icu4c/source/test/testdata/iscii.bin @@ -0,0 +1,19 @@ +//******************************************************************************* +//* +//*Copyright(C)1998-2000InternationalBusinessMachines +//*Corporationandothers.AllRightsReserved. +//* +//******************************************************************************* +iscii{ + str{ + " �4�3���4�3����� .�� .�� .������ .�� ������ 1990 ³ ������-���ʢ��� ���" + "������� .�� .����� .�� .�������� .����� .�� .������ .2200 ��� ����� �����" + "�� .4����ݰ� .4�� .4������� .4���, .3�ʳ� .3������ .3�� .3��� .3����� .3����" + "��� ./������ ./���� ./���ע��� ./�� ./��� ���ڰ� �� ��ݢ��� �� �۬ ������" + "�� ./�� ./����� ./���� �� ��� ��� ���� �� ��, ��׳� ����� �ϳ��" + "��, ������ �� ����� �� ������� ��� ѵ��� ��, �ۢ�� �׳� ��Ƚ ���" + "ѵ��� .2�� .2�۬ .2���� .2��ڽ .2������ .2������ .��, .���� .����� .�� .������ .��" + "����� .3� .3������ .3�� .3�ʳ .3�� .3�� .3���� .3�� .3�׳� .3�ݳ�������� .2������� " + "������� �� ׳ᢵ� ? " + } +} \ No newline at end of file diff --git a/icu4c/source/test/testdata/ja_data.bin b/icu4c/source/test/testdata/ja_data.bin deleted file mode 100644 index 8e1a405650c..00000000000 --- a/icu4c/source/test/testdata/ja_data.bin +++ /dev/null @@ -1,11 +0,0 @@ -//******************************************************************************* -//* -//*Copyright(C)1998-2000InternationalBusinessMachines -//*Corporationandothers.AllRightsReserved. -//* -//******************************************************************************* -ja_data{ - str{ - "$B%'%(%I(Ba$B*D$B%s%@%0%3%E%U%Y%J%k$:$*$)$($&$$$3$4$D$T$d$s$B$@$`$p%"%2%6%7%8%X%W%S%Q(B" - } -} \ No newline at end of file diff --git a/icu4c/source/test/testdata/testdata.mk b/icu4c/source/test/testdata/testdata.mk index f0d4260817a..b97f568b8a9 100644 --- a/icu4c/source/test/testdata/testdata.mk +++ b/icu4c/source/test/testdata/testdata.mk @@ -14,7 +14,7 @@ TESTDT=$(TESTPKG)_ ALL : "$(TESTDATAOUT)\testdata.dat" @echo Test data is built. -"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATABLD)\casing.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.res" "$(TESTDATABLD)\testaliases.res" "$(TESTDATABLD)\testtypes.res" "$(TESTDATABLD)\testempty.res" "$(TESTDATABLD)\ja_data.res" "$(TESTDATABLD)\DataDrivenCollationTest.res" $(TESTDATABLD)\testdata_test.icu "$(TESTDATABLD)\testdata_test1.cnv" "$(TESTDATABLD)\testdata_test3.cnv" "$(TESTDATABLD)\testdata_test4.cnv" +"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATABLD)\casing.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.res" "$(TESTDATABLD)\testaliases.res" "$(TESTDATABLD)\testtypes.res" "$(TESTDATABLD)\testempty.res" "$(TESTDATABLD)\iscii.res" "$(TESTDATABLD)\DataDrivenCollationTest.res" $(TESTDATABLD)\testdata_test.icu "$(TESTDATABLD)\testdata_test1.cnv" "$(TESTDATABLD)\testdata_test3.cnv" "$(TESTDATABLD)\testdata_test4.cnv" @echo Building test data @copy "$(TESTDATABLD)\testdata_te.res" "$(TESTDATAOUT)\testdata_nam.typ" @"$(ICUTOOLS)\pkgdata\$(CFG)\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -O "$(PKGOPT)" -d "$(TESTDATAOUT)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" << @@ -25,7 +25,7 @@ testdata_te_IN.res testdata_testtypes.res testdata_testempty.res testdata_testaliases.res -testdata_ja_data.res +testdata_iscii.res testdata_DataDrivenCollationTest.res testdata_test.icu testdata_test1.cnv @@ -41,9 +41,9 @@ testdata_test4.cnv @echo Making Test Resource Bundle files $< @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -t -p"$(TESTPKG)" -q -s"$(TESTDATA)" -d"$(TESTDATABLD)" $< -"$(TESTDATABLD)\ja_data.res": - @echo Making Test Resource Bundle file with encoding ISO-2022-JP - @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -t -p"$(TESTPKG)" -q -s"$(TESTDATA)" -eISO_2022_JP -d"$(TESTDATABLD)" ja_data.bin +"$(TESTDATABLD)\iscii.res": + @echo Making Test Resource Bundle file with encoding x-iscii-de + @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -t -p"$(TESTPKG)" -q -s"$(TESTDATA)" -ex-iscii-de -d"$(TESTDATABLD)" iscii.bin $(TESTDATABLD)\testdata_test.icu : {"$(ICUTOOLS)\gentest\$(CFG)"}gentest.exe "$(ICUTOOLS)\gentest\$(CFG)\gentest" -d"$(TESTDATABLD)"