ICU-4567 Win32 fixes for Data Driven CalTest

X-SVN-Rev: 21956
This commit is contained in:
Steven R. Loomis 2007-07-12 22:58:54 +00:00
parent 01a0744b62
commit 1e3c43e8e5
5 changed files with 36 additions and 3 deletions

View File

@ -107,6 +107,10 @@
RelativePath=".\translit\trnsfiles.mk"
>
</File>
<File
RelativePath="..\test\testdata\tstfiles.mk"
>
</File>
<File
RelativePath=".\mappings\ucmcore.mk"
>

View File

@ -548,6 +548,14 @@
RelativePath=".\caltztst.h"
>
</File>
<File
RelativePath=".\dadrcal.cpp"
>
</File>
<File
RelativePath=".\dadrcal.h"
>
</File>
<File
RelativePath=".\dcfmapts.cpp"
>

View File

@ -28,12 +28,12 @@ ALL : "$(TESTDATAOUT)\testdata.dat"
TEST_RES_FILES = $(TEST_RES_SOURCE:.txt=.res)
"$(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"
"$(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)\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"
@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)" "$(TEST_RES_FILES)" <<
"$(ICUP)\bin\pkgdata" -f -v -m common -c -p"$(TESTPKG)" -d "$(TESTDATAOUT)" -T "$(TESTDATABLD)" -s "$(TESTDATABLD)" <<
casing.res
conversion.res
mc.res
@ -64,6 +64,8 @@ nfscss.spp
nfscis.spp
nfsmxs.spp
nfsmxp.spp
$(TEST_RES_FILES:.res =.res
)
<<

View File

@ -1,6 +1,9 @@
# Copyright (C) 2007, International Business Machines Corporation and others. All Rights Reserved.
#
# TEST_RES_SOURCE defines data driven tests and other resource files to be included with the testdata package.
# TEST_RES_SOURCE defines data driven tests and other resource files to be included with
# the testdata package. For ordinary resource bundles, they only need to be referenced here.
#
# Not everything has been moved to this file yet, as this is a new facility.
#
TEST_RES_SOURCE=DataDrivenCollationTest.txt calendar.txt

View File

@ -220,6 +220,10 @@
RelativePath=".\datamap.cpp"
>
</File>
<File
RelativePath=".\dbgutil.cpp"
>
</File>
<File
RelativePath=".\testdata.cpp"
>
@ -228,6 +232,10 @@
RelativePath=".\tstdtmod.cpp"
>
</File>
<File
RelativePath=".\udbgutil.cpp"
>
</File>
<File
RelativePath=".\uperf.cpp"
>
@ -261,6 +269,10 @@
RelativePath=".\unicode\datamap.h"
>
</File>
<File
RelativePath=".\unicode\dbgutil.h"
>
</File>
<File
RelativePath=".\unicode\testdata.h"
>
@ -277,6 +289,10 @@
RelativePath=".\unicode\tstdtmod.h"
>
</File>
<File
RelativePath=".\unicode\udbgutil.h"
>
</File>
<File
RelativePath=".\unicode\uperf.h"
>