summaryrefslogtreecommitdiff
path: root/scripts/run_web_tests.py
diff options
context:
space:
mode:
authorJames Godfrey-Kittle <jamesgk@google.com>2015-09-29 17:46:32 -0700
committerJames Godfrey-Kittle <jamesgk@google.com>2015-09-29 17:46:32 -0700
commit26990b6f5a8170656a0064e49b2c9b7a4f9b8d54 (patch)
tree26ba545000df0387940c3c4a9c5b7b43c33e9602 /scripts/run_web_tests.py
parentbdf6327ad72f162ca16a16c446d2093ffb75f143 (diff)
Generalize coverage tests in common_tests
Diffstat (limited to 'scripts/run_web_tests.py')
-rwxr-xr-xscripts/run_web_tests.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/run_web_tests.py b/scripts/run_web_tests.py
index 8ec42be..c6e0aa3 100755
--- a/scripts/run_web_tests.py
+++ b/scripts/run_web_tests.py
@@ -53,7 +53,14 @@ class TestDigitWidths(common_tests.TestDigitWidths):
class TestCharacterCoverage(common_tests.TestCharacterCoverage):
loaded_fonts = FONTS
- test_inclusion_of_sound_recording_copyright = None
+
+ include = frozenset([
+ 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 TestVerticalMetrics(common_tests.TestVerticalMetrics):