aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-06-03 19:10:01 +0200
committerGitHub <noreply@github.com>2024-06-03 17:10:01 +0000
commitf8985c5521cdf72a9137a7fa847043e5a789dfe0 (patch)
tree519ab8999e6d6c32fed65f0812ce6b36dbcb8359 /python/servo
parent48ab8d8847eadd0c94f43307860e880d4802a075 (diff)
downloadservo-f8985c5521cdf72a9137a7fa847043e5a789dfe0.tar.gz
servo-f8985c5521cdf72a9137a7fa847043e5a789dfe0.zip
base: Remove `ucd` dependency (#32424)
Remove the `ucd` dependency which has not been updated in 8 years. In addition, replace it with a generated UnicodeBlock enum which reflects the modern Unicode standard. This is generated via a Python script which is included in the repository. The generation is not part of the build process, because the Unicode database is hosted on the web and it does not change the frequently. This is done instead of bringing in the more up-to-date `unicode_blocks` dependency. `unicode_blocks` defines each block as constant, which means that they cannot be used in match statements -- which we do in Servo. Co-authored-by: Lauryn Menard <lauryn.menard@gmail.com>
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/testing_commands.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index d6c4bea60e5..4e949ab328e 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -147,22 +147,23 @@ class MachCommands(CommandBase):
test_patterns.append(test)
self_contained_tests = [
- "servoshell",
"background_hang_monitor",
+ "base",
+ "compositing",
+ "constellation",
+ "crown",
"gfx",
"hyper_serde",
"layout_2013",
"layout_2020",
"net",
"net_traits",
- "selectors",
+ "pixels",
"script_traits",
+ "selectors",
"servo_config",
- "crown",
- "constellation",
+ "servoshell",
"style_config",
- "compositing",
- "pixels",
]
if not packages:
packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit"))) - set(['.DS_Store'])