summaryrefslogtreecommitdiff
path: root/scripts/run_general_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/run_general_tests.py')
-rwxr-xr-xscripts/run_general_tests.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/run_general_tests.py b/scripts/run_general_tests.py
index 7ec8fcc..30445cd 100755
--- a/scripts/run_general_tests.py
+++ b/scripts/run_general_tests.py
@@ -54,6 +54,15 @@ class TestDigitWidths(common_tests.TestDigitWidths):
class TestCharacterCoverage(common_tests.TestCharacterCoverage):
loaded_fonts = FONTS
+ include = frozenset([
+ 0x2117, # SOUND RECORDING COPYRIGHT
+ 0xEE01, 0xEE02, 0xF6C3]) # legacy PUA
+
+ exclude = frozenset([
+ 0x2072, 0x2073, 0x208F] + # unassigned characters
+ range(0xE000, 0xF8FF + 1) + range(0xF0000, 0x10FFFF + 1) # other PUA
+ ) - include # don't exclude legacy PUA
+
class TestLigatures(common_tests.TestLigatures):
loaded_fonts = FONTS
@@ -67,6 +76,10 @@ class TestVerticalMetrics(common_tests.TestVerticalMetrics):
loaded_fonts = FONTS
test_ymin_ymax = None
test_hhea_table_metrics = None
+ test_os2_metrics = None
+
+ expected_head_yMin = -555
+ expected_head_yMax = 2163
class TestGlyphAreas(common_tests.TestGlyphAreas):
@@ -76,4 +89,3 @@ class TestGlyphAreas(common_tests.TestGlyphAreas):
if __name__ == '__main__':
unittest.main()
-