mirror of
https://github.com/servo/servo.git
synced 2025-06-08 16:43:28 +00:00
Thread ParseError return values through CSS parsing.
This commit is contained in:
parent
58e39bfffa
commit
27ae1ef2e7
121 changed files with 2133 additions and 1505 deletions
|
@ -232,6 +232,15 @@ class MachCommands(CommandBase):
|
|||
test_patterns.append(test)
|
||||
|
||||
in_crate_packages = []
|
||||
|
||||
# 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
|
||||
|
||||
if not packages:
|
||||
packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit"))) - set(['.DS_Store'])
|
||||
in_crate_packages += ["selectors"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue