[Tests] rename all 'testdata' folders to simply 'data'

as it's now obvious what kind of data they are
This commit is contained in:
Cosimo Lupo 2017-01-16 09:36:10 +00:00
parent 6a6efc7877
commit 3cdc800873
No known key found for this signature in database
GPG Key ID: B61AAAD0B53A6419
256 changed files with 19 additions and 19 deletions

View File

@ -13,10 +13,10 @@ include run-tests.sh
recursive-include Doc/man/man1 *.1 recursive-include Doc/man/man1 *.1
recursive-include Tests *.py recursive-include Tests *.py
recursive-include Tests testdata/*.ttx testdata/*.otx testdata/*.fea recursive-include Tests data/*.ttx data/*.otx data/*.fea
recursive-include Tests testdata/*.feax recursive-include Tests data/*.feax
recursive-include Tests testdata/*.txt testdata/*.ttx.* recursive-include Tests data/*.txt data/*.ttx.*
recursive-include Tests testdata/mti/*.txt testdata/mti/*.ttx.* recursive-include Tests data/mti/*.txt data/mti/*.ttx.*
recursive-include Tests testdata/mti/*.ttx testdata/mti/README recursive-include Tests data/mti/*.ttx data/mti/README
recursive-include Tests testdata/*.lwfn testdata/*.pfa testdata/*.pfb recursive-include Tests data/*.lwfn data/*.pfa data/*.pfb
recursive-include Tests testdata/*.xml testdata/*.designspace testdata/*.bin recursive-include Tests data/*.xml data/*.designspace data/*.bin

View File

@ -49,7 +49,7 @@ def makeTTFont():
class BuilderTest(unittest.TestCase): class BuilderTest(unittest.TestCase):
# Feature files in testdata/*.fea; output gets compared to testdata/*.ttx. # Feature files in data/*.fea; output gets compared to data/*.ttx.
TEST_FEATURE_FILES = """ TEST_FEATURE_FILES = """
Attach enum markClass language_required Attach enum markClass language_required
GlyphClassDef LigatureCaretByIndex LigatureCaretByPos GlyphClassDef LigatureCaretByIndex LigatureCaretByPos
@ -86,7 +86,7 @@ class BuilderTest(unittest.TestCase):
@staticmethod @staticmethod
def getpath(testfile): def getpath(testfile):
path, _ = os.path.split(__file__) path, _ = os.path.split(__file__)
return os.path.join(path, "testdata", testfile) return os.path.join(path, "data", testfile)
def temp_path(self, suffix): def temp_path(self, suffix):
if not self.tempdir: if not self.tempdir:

Some files were not shown because too many files have changed in this diff Show More