X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/73c04bcfe1096173b00431f0cdc742894b15eef0..08b89b0a244153b9f5bbb2f49c55ab0f7298122e:/icuSources/test/testdata/testdata.mak diff --git a/icuSources/test/testdata/testdata.mak b/icuSources/test/testdata/testdata.mak index a50b183e..1f3999bb 100644 --- a/icuSources/test/testdata/testdata.mak +++ b/icuSources/test/testdata/testdata.mak @@ -1,5 +1,5 @@ #********************************************************************** -#* Copyright (C) 1999-2006, International Business Machines Corporation +#* Copyright (C) 1999-2014, International Business Machines Corporation #* and others. All Rights Reserved. #********************************************************************** # @@ -14,21 +14,26 @@ TESTDT=$(TESTPKG) ALL : "$(TESTDATAOUT)\testdata.dat" @echo Test data is built. -# icu26_testtypes.res is there for cintltst/udatatst.c/TestSwapData() -# I generated it with an ICU 2.6.1 build on Windows after removing -# testincludeUTF (which made it large, unnecessarily for this test) -# and CollationElements (which will not work with a newer swapper) -# markus 2003nov19 +# old_l_testtypes.res is there for cintltst/udatatst.c/TestSwapData() +# I generated it with an ICU 4.2.1 build on Linux after removing +# testincludeUTF (which would make it large, unnecessarily for this test) +# and renaming the collations element to avoid build CollationElements +# (which will not work with a newer swapper) +# markus 2010jan15 -# icu26e_testtypes.res is the same, but icuswapped to big-endian EBCDIC -# markus 2003nov21 +# old_e_testtypes.res is the same, but icuswapped to big-endian EBCDIC -"$(TESTDATAOUT)\testdata.dat" : "$(TESTDATABLD)\casing.res" "$(TESTDATABLD)\conversion.res" "$(TESTDATABLD)\icuio.res" "$(TESTDATABLD)\mc.res" "$(TESTDATABLD)\structLocale.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\sh.res" "$(TESTDATABLD)\sh_YU.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.res" "$(TESTDATABLD)\te_IN_REVISED.res" "$(TESTDATABLD)\testaliases.res" "$(TESTDATABLD)\testtypes.res" "$(TESTDATABLD)\testempty.res" "$(TESTDATABLD)\iscii.res" "$(TESTDATABLD)\idna_rules.res" "$(TESTDATABLD)\DataDrivenCollationTest.res" "$(TESTDATABLD)\test.icu" "$(TESTDATABLD)\testtable32.res" "$(TESTDATABLD)\test1.cnv" "$(TESTDATABLD)\test3.cnv" "$(TESTDATABLD)\test4.cnv" "$(TESTDATABLD)\test4x.cnv" "$(TESTDATABLD)\ibm9027.cnv" "$(TESTDATABLD)\nfscsi.spp" "$(TESTDATABLD)\nfscss.spp" "$(TESTDATABLD)\nfscis.spp" "$(TESTDATABLD)\nfsmxs.spp" "$(TESTDATABLD)\nfsmxp.spp" +# the following file has $(TEST_RES_SOURCE) +!INCLUDE "$(TESTDATA)\tstfiles.mk" + +TEST_RES_FILES = $(TEST_RES_SOURCE:.txt=.res) + +"$(TESTDATAOUT)\testdata.dat" : $(TEST_RES_FILES) "$(TESTDATABLD)\casing.res" "$(TESTDATABLD)\conversion.res" "$(TESTDATABLD)\icuio.res" "$(TESTDATABLD)\mc.res" "$(TESTDATABLD)\structLocale.res" "$(TESTDATABLD)\root.res" "$(TESTDATABLD)\sh.res" "$(TESTDATABLD)\sh_YU.res" "$(TESTDATABLD)\te.res" "$(TESTDATABLD)\te_IN.res" "$(TESTDATABLD)\te_IN_REVISED.res" "$(TESTDATABLD)\testaliases.res" "$(TESTDATABLD)\testtypes.res" "$(TESTDATABLD)\testempty.res" "$(TESTDATABLD)\iscii.res" "$(TESTDATABLD)\idna_rules.res" "$(TESTDATABLD)\test.icu" "$(TESTDATABLD)\testtable32.res" "$(TESTDATABLD)\test1.cnv" "$(TESTDATABLD)\test1bmp.cnv" "$(TESTDATABLD)\test2.cnv" "$(TESTDATABLD)\test3.cnv" "$(TESTDATABLD)\test4.cnv" "$(TESTDATABLD)\test4x.cnv" "$(TESTDATABLD)\test5.cnv" "$(TESTDATABLD)\ibm9027.cnv" "$(TESTDATABLD)\nfscsi.spp" "$(TESTDATABLD)\nfscss.spp" "$(TESTDATABLD)\nfscis.spp" "$(TESTDATABLD)\nfsmxs.spp" "$(TESTDATABLD)\nfsmxp.spp" "$(TESTDATABLD)\testnorm.nrm" @echo Building test data @copy "$(TESTDATABLD)\te.res" "$(TESTDATAOUT)\$(TESTDT)\nam.typ" - @copy "$(TESTDATA)\icu26_testtypes.res" "$(TESTDATABLD)" - @copy "$(TESTDATA)\icu26e_testtypes.res" "$(TESTDATABLD)" - "$(ICUP)\bin\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -d "$(TESTDATAOUT)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" << + @copy "$(TESTDATA)\old_l_testtypes.res" "$(TESTDATABLD)" + @copy "$(TESTDATA)\old_e_testtypes.res" "$(TESTDATABLD)" + "$(ICUPBIN)\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -d "$(TESTDATAOUT)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" << casing.res conversion.res mc.res @@ -40,19 +45,21 @@ te.res te_IN.res te_IN_REVISED.res testtypes.res -icu26_testtypes.res -icu26e_testtypes.res +old_l_testtypes.res +old_e_testtypes.res testempty.res testaliases.res structLocale.res icuio.res iscii.res -DataDrivenCollationTest.res test.icu test1.cnv +test1bmp.cnv +test2.cnv test3.cnv test4.cnv test4x.cnv +test5.cnv ibm9027.cnv idna_rules.res nfscsi.spp @@ -60,6 +67,9 @@ nfscss.spp nfscis.spp nfsmxs.spp nfsmxp.spp +testnorm.nrm +$(TEST_RES_FILES:.res =.res +) << @@ -87,8 +97,7 @@ nfsmxp.spp "$(ICUTOOLS)\gentest\$(CFG)\gentest" -r -d"$(TESTDATABLD)" "$(TESTDATABLD)\testtable32.res": "$(TESTDATABLD)\testtable32.txt" - @echo Making Test Resource Bundle file for IDNA reference implementation - @"$(ICUTOOLS)\genrb\$(CFG)\genrb" -s"$(TESTDATABLD)" -d"$(TESTDATABLD)" testtable32.txt + "$(ICUTOOLS)\genrb\$(CFG)\genrb" -s"$(TESTDATABLD)" -d"$(TESTDATABLD)" testtable32.txt # Targets for nfscsi.spp "$(TESTDATABLD)\nfscsi.spp" : {"$(ICUTOOLS)\gensprep\$(CFG)"}gensprep.exe "$(TESTDATA)\nfs4_cs_prep_ci.txt" @@ -119,21 +128,37 @@ nfsmxp.spp # Targets for test converter data "$(TESTDATABLD)\test1.cnv": "$(TESTDATA)\test1.ucm" @echo Building $@ - @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" $** + @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** + +"$(TESTDATABLD)\test1bmp.cnv": "$(TESTDATA)\test1bmp.ucm" + @echo Building $@ + @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** + +"$(TESTDATABLD)\test2.cnv": "$(TESTDATA)\test2.ucm" + @echo Building $@ + @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** "$(TESTDATABLD)\test3.cnv": "$(TESTDATA)\test3.ucm" @echo Building $@ - @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" $** + @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** "$(TESTDATABLD)\test4.cnv": "$(TESTDATA)\test4.ucm" @echo Building $@ - @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" $** + @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** "$(TESTDATABLD)\test4x.cnv": "$(TESTDATA)\test4x.ucm" @echo Building $@ - @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" $** + @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** + +"$(TESTDATABLD)\test5.cnv": "$(TESTDATA)\test5.ucm" + @echo Building $@ + @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** "$(TESTDATABLD)\ibm9027.cnv": "$(TESTDATA)\ibm9027.ucm" @echo Building $@ - @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" -d"$(TESTDATABLD)" $** + @"$(ICUTOOLS)\makeconv\$(CFG)\makeconv" --small -d"$(TESTDATABLD)" $** +# Target for test normalization data +"$(TESTDATABLD)\testnorm.nrm": "$(TESTDATA)\testnorm.txt" + @echo Building $@ + @"$(ICUTOOLS)\gennorm2\$(CFG)\gennorm2" -s "$(TESTDATA)" testnorm.txt -o $@