ICU-20737 Removing Python dependency on distutils.

Deletes tstfiles.mk and merges the list into BUILDRULES.py
This commit is contained in:
Shane Carr 2019-08-02 16:25:15 -07:00 committed by Shane F. Carr
parent afab3f992c
commit b4d41b0561
5 changed files with 11 additions and 30 deletions

View file

@ -93,7 +93,6 @@
<None Include="locales\resfiles.mk" />
<None Include="..\test\testdata\testdata.mak" />
<None Include="translit\trnsfiles.mk" />
<None Include="..\test\testdata\tstfiles.mk" />
<None Include="mappings\ucmcore.mk" />
<None Include="mappings\ucmebcdic.mk" />
<None Include="mappings\ucmfiles.mk" />

View file

@ -35,9 +35,6 @@
<None Include="translit\trnsfiles.mk">
<Filter>Make Files</Filter>
</None>
<None Include="..\test\testdata\tstfiles.mk">
<Filter>Make Files</Filter>
</None>
<None Include="mappings\ucmcore.mk">
<Filter>Make Files</Filter>
</None>

View file

@ -124,7 +124,6 @@
<None Include="locales\resfiles.mk" />
<None Include="..\test\testdata\testdata.mak" />
<None Include="translit\trnsfiles.mk" />
<None Include="..\test\testdata\tstfiles.mk" />
<None Include="mappings\ucmcore.mk" />
<None Include="mappings\ucmebcdic.mk" />
<None Include="mappings\ucmfiles.mk" />

View file

@ -1,8 +1,6 @@
# Copyright (C) 2018 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
from distutils.sysconfig import parse_makefile
from icutools.databuilder import *
from icutools.databuilder.request_types import *
@ -28,24 +26,24 @@ def generate(config, glob, common_vars):
def generate_rb(config, glob, common_vars):
mk_vars = parse_makefile("{GLOB_DIR}/tstfiles.mk".format(**common_vars))
basenames = [v[:-4] for v in mk_vars["TEST_RES_SOURCE"].split()]
basenames += [
basenames = [
"calendar",
"casing",
"conversion",
"format",
"icuio",
"idna_rules",
"mc",
"root",
"sh",
"sh_YU",
"te",
"te_IN",
"sh",
"structLocale",
"te_IN_REVISED",
"testtypes",
"te_IN",
"te",
"testaliases",
"testempty",
"structLocale",
"idna_rules",
"conversion",
"icuio",
"testtypes",
# "metaZones",
# "timezoneTypes",
# "windowsZones",

View file

@ -1,12 +0,0 @@
# Copyright (C) 2016 and later: Unicode, Inc. and others.
# License & terms of use: http://www.unicode.org/copyright.html
# Copyright (C) 2007-2014, 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. 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=calendar.txt format.txt