mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #17261 - servo:jdm-patch-5, r=emilio
Allow running selectors tests with test-unit. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17261) <!-- Reviewable:end -->
This commit is contained in:
commit
8fee7f45e0
1 changed files with 8 additions and 0 deletions
|
@ -236,6 +236,14 @@ class MachCommands(CommandBase):
|
|||
packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit"))) - set(['.DS_Store'])
|
||||
in_crate_packages += ["selectors"]
|
||||
|
||||
# Since the selectors tests have no corresponding selectors_tests crate in tests/unit,
|
||||
# we need to treat them separately from those that do.
|
||||
try:
|
||||
packages.remove('selectors')
|
||||
in_crate_packages += ["selectors"]
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
packages.discard('stylo')
|
||||
|
||||
has_style = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue