diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-10-06 11:07:02 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-10-06 11:07:02 -0700 |
commit | f60cf5d23d9cb7a9dc2172f8338c7a82ae96dcac (patch) | |
tree | 056e7e9422255235d8feaaa8ae9509a4d11de491 /scripts/run_general_tests.py | |
parent | c47aca74e901b0ab7cd6bb27908ea9c8617215f6 (diff) |
Further generalize common_tests.py
Diffstat (limited to 'scripts/run_general_tests.py')
-rwxr-xr-x | scripts/run_general_tests.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/run_general_tests.py b/scripts/run_general_tests.py index 30445cd..2a8fa3a 100755 --- a/scripts/run_general_tests.py +++ b/scripts/run_general_tests.py @@ -21,6 +21,7 @@ import unittest from robofab.world import OpenFont import common_tests +import roboto_data FONTS = common_tests.load_fonts( ['hinted/*.ttf'], @@ -38,14 +39,24 @@ UFO_MASTERS = common_tests.load_fonts( class TestItalicAngle(common_tests.TestItalicAngle): loaded_fonts = FONTS + expected_italic_angle = -12.0 class TestMetaInfo(common_tests.TestMetaInfo): + """Bugs: + https://code.google.com/a/google.com/p/roboto/issues/detail?id=8 + https://code.google.com/a/google.com/p/roboto/issues/detail?id=29 + """ + loaded_fonts = FONTS mark_heavier_as_bold = True test_us_weight = None test_version_numbers = None + # fsType of 0 marks the font free for installation, embedding, etc. + expected_os2_fsType = 0 + expected_os2_achVendID = 'GOOG' + class TestDigitWidths(common_tests.TestDigitWidths): loaded_fonts = FONTS |